summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2004-12-05 00:03:20 +0000
committerMamoru Komachi <usata@gentoo.org>2004-12-05 00:03:20 +0000
commit8bacc5c312a007c3fa406b6fe758e977b9c66b3f (patch)
treeb12bd8821d67d54a9dbff38b6291988e424c0c2a /x11-terms
parentVersion bump, bug 71395. (Manifest recommit) (diff)
downloadgentoo-2-8bacc5c312a007c3fa406b6fe758e977b9c66b3f.tar.gz
gentoo-2-8bacc5c312a007c3fa406b6fe758e977b9c66b3f.tar.bz2
gentoo-2-8bacc5c312a007c3fa406b6fe758e977b9c66b3f.zip
Append -Wl,-z,now to LDFLAGS.
Diffstat (limited to 'x11-terms')
-rw-r--r--x11-terms/mlterm/ChangeLog6
-rw-r--r--x11-terms/mlterm/files/mlterm-2.9.1-gentoo.diff11
-rw-r--r--x11-terms/mlterm/mlterm-2.9.1.ebuild12
3 files changed, 27 insertions, 2 deletions
diff --git a/x11-terms/mlterm/ChangeLog b/x11-terms/mlterm/ChangeLog
index 612308fbbbf1..ba244756dcbe 100644
--- a/x11-terms/mlterm/ChangeLog
+++ b/x11-terms/mlterm/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-terms/mlterm
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-terms/mlterm/ChangeLog,v 1.37 2004/11/30 09:33:29 usata Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-terms/mlterm/ChangeLog,v 1.38 2004/12/05 00:03:20 usata Exp $
+
+ 05 Dec 2004; Mamoru KOMACHI <usata@gentoo.org>
+ +files/mlterm-2.9.1-gentoo.diff, mlterm-2.9.1.ebuild:
+ Append -Wl,-z,now to LDFLAGS.
*mlterm-2.9.1 (30 Nov 2004)
diff --git a/x11-terms/mlterm/files/mlterm-2.9.1-gentoo.diff b/x11-terms/mlterm/files/mlterm-2.9.1-gentoo.diff
new file mode 100644
index 000000000000..e1b41a36f034
--- /dev/null
+++ b/x11-terms/mlterm/files/mlterm-2.9.1-gentoo.diff
@@ -0,0 +1,11 @@
+--- Makefile.in.orig 2004-10-10 21:48:43.000000000 +0900
++++ Makefile.in 2004-12-05 08:48:54.000000000 +0900
+@@ -49,7 +49,7 @@
+ PROG = mlterm
+ INSTALL_OPT = @INSTALL_OPT@
+
+-LIBTOOL_LINK = $(LIBTOOL) --mode=link $(CC)
++LIBTOOL_LINK = $(LIBTOOL) --mode=link $(CC) $(LDFLAGS)
+ LIBTOOL_INSTALL = $(LIBTOOL) --mode=install $(INSTALL)
+
+ all: $(PROG)
diff --git a/x11-terms/mlterm/mlterm-2.9.1.ebuild b/x11-terms/mlterm/mlterm-2.9.1.ebuild
index 7a9f141e2f4c..194d6184fd9d 100644
--- a/x11-terms/mlterm/mlterm-2.9.1.ebuild
+++ b/x11-terms/mlterm/mlterm-2.9.1.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-terms/mlterm/mlterm-2.9.1.ebuild,v 1.1 2004/11/30 09:33:29 usata Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-terms/mlterm/mlterm-2.9.1.ebuild,v 1.2 2004/12/05 00:03:20 usata Exp $
+
+inherit eutils flag-o-matic
IUSE="truetype gtk imlib bidi nls uim"
#IUSE="${IUSE} m17n-lib iiimf"
@@ -20,6 +22,12 @@ DEPEND="gtk? ( >=x11-libs/gtk+-2 )
nls? ( sys-devel/gettext )
uim? ( >=app-i18n/uim-0.3.4.2 )"
+src_unpack() {
+ unpack ${A}
+ cd ${S}/xwindow
+ epatch ${FILESDIR}/${P}-gentoo.diff
+}
+
src_compile() {
local myconf imagelib
@@ -34,6 +42,8 @@ src_compile() {
# m17n-lib and iiimf aren't stable enough
#myconf="${myconf} $(use_enable iiimf) $(use_enable m17n-lib m17nlib)"
+ append-ldflags -Wl,-z,now
+
econf --enable-utmp \
$(use_enable truetype anti-alias) \
$(use_enable bidi fribidi) \