diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-05-14 17:56:03 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-05-14 17:56:03 +0000 |
commit | 9da072c34f83718b288494a6dee4f3f76689cccb (patch) | |
tree | 7cf0065a45c9a8acf4d30cb36e7e837933a87b45 /sys-apps | |
parent | stable on amd46 (diff) | |
download | gentoo-2-9da072c34f83718b288494a6dee4f3f76689cccb.tar.gz gentoo-2-9da072c34f83718b288494a6dee4f3f76689cccb.tar.bz2 gentoo-2-9da072c34f83718b288494a6dee4f3f76689cccb.zip |
dont use `ldconfig -l` since ldconfig isnt a portable app #92587
(Portage version: 2.0.51.21-r1)
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/gawk/files/filefuncs/Makefile | 22 | ||||
-rw-r--r-- | sys-apps/gawk/gawk-3.1.4-r4.ebuild | 4 |
2 files changed, 13 insertions, 13 deletions
diff --git a/sys-apps/gawk/files/filefuncs/Makefile b/sys-apps/gawk/files/filefuncs/Makefile index 785b481500de..c3d99de9328e 100644 --- a/sys-apps/gawk/files/filefuncs/Makefile +++ b/sys-apps/gawk/files/filefuncs/Makefile @@ -1,7 +1,7 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # Author: Martin Schlemmer <azarah@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/sys-apps/gawk/files/filefuncs/Makefile,v 1.5 2005/01/14 13:25:15 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/gawk/files/filefuncs/Makefile,v 1.6 2005/05/14 17:56:03 vapier Exp $ CC ?= gcc LD = $(CC) @@ -12,24 +12,24 @@ MINORVER = 0.1 AWKINCDIR = /usr/include/awk DESTDIR = -TARGET = filefuncs.so.$(MAJORVER).$(MINORVER) +TARGET = filefuncs +TARGET_LIB = $(TARGET).so.$(MAJORVER).$(MINORVER) LIBDIR = lib -all: $(TARGET) +all: $(TARGET_LIB) -filefuncs.o: filefuncs.c +$(TARGET).o: $(TARGET).c $(CC) -shared -Wall -DHAVE_CONFIG_H -c -O2 -fPIC -I$(AWKINCDIR) $^ -filefuncs.so.$(MAJORVER).$(MINORVER): filefuncs.o - $(LD) -o $@ -shared -Wl,-soname -Wl,filefuncs.so.$(MAJORVER) $^ +$(TARGET_LIB): $(TARGET).o + $(LD) -o $@ -shared -Wl,-soname -Wl,$(TARGET).so.$(MAJORVER) $^ -install: $(TARGET) +install: $(TARGET_LIB) install -m 0755 -d $(DESTDIR)/$(LIBDIR)/rcscripts - install -m 0755 $(TARGET) $(DESTDIR)/$(LIBDIR)/rcscripts - ldconfig -l $(DESTDIR)/$(LIBDIR)/rcscripts/$(TARGET) - rm -f $(DESTDIR)/$(LIBDIR)/rcscripts/filefuncs.so - ln -s $(TARGET) $(DESTDIR)/$(LIBDIR)/rcscripts/filefuncs.so + install -m 0755 $(TARGET_LIB) $(DESTDIR)/$(LIBDIR)/rcscripts + ln -s $(TARGET_LIB) $(DESTDIR)/$(LIBDIR)/rcscripts/$(TARGET).so.$(MAJORVER) + ln -s $(TARGET_LIB) $(DESTDIR)/$(LIBDIR)/rcscripts/$(TARGET).so clean: rm -f $(TARGET) diff --git a/sys-apps/gawk/gawk-3.1.4-r4.ebuild b/sys-apps/gawk/gawk-3.1.4-r4.ebuild index b65b0bf60046..6668741ad220 100644 --- a/sys-apps/gawk/gawk-3.1.4-r4.ebuild +++ b/sys-apps/gawk/gawk-3.1.4-r4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/gawk/gawk-3.1.4-r4.ebuild,v 1.4 2005/05/06 01:35:53 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/gawk/gawk-3.1.4-r4.ebuild,v 1.5 2005/05/14 17:56:03 vapier Exp $ inherit eutils toolchain-funcs @@ -12,7 +12,7 @@ SRC_URI="mirror://gnu/gawk/${P}.tar.gz LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" IUSE="nls build xml" RDEPEND="xml? ( dev-libs/expat )" |