aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlev <lev@FreeBSD.org>2003-10-15 22:07:23 +0800
committerlev <lev@FreeBSD.org>2003-10-15 22:07:23 +0800
commitfa3b7c866c1bce7a9050280c7dbb918b9cf6bf5a (patch)
tree05adb9bd530ba8d07c3bb28366cfa1b052626eec
parent83ffb7f9d98e06e712d400163ba5923c1dc2ba74 (diff)
downloadfreebsd-ports-gnome-fa3b7c866c1bce7a9050280c7dbb918b9cf6bf5a.tar.gz
freebsd-ports-gnome-fa3b7c866c1bce7a9050280c7dbb918b9cf6bf5a.tar.zst
freebsd-ports-gnome-fa3b7c866c1bce7a9050280c7dbb918b9cf6bf5a.zip
Don't install libiberty.a, libopcodes.a, libbfd.a & headers for them.
Now this port doesn't install non-unique files.
-rw-r--r--devel/mipsel-linux-binutils/Makefile7
-rw-r--r--devel/mipsel-linux-binutils/files/patch-Makefile.in20
-rw-r--r--devel/mipsel-linux-binutils/pkg-plist6
3 files changed, 23 insertions, 10 deletions
diff --git a/devel/mipsel-linux-binutils/Makefile b/devel/mipsel-linux-binutils/Makefile
index 0d23abf4583e..6d3a6e784b91 100644
--- a/devel/mipsel-linux-binutils/Makefile
+++ b/devel/mipsel-linux-binutils/Makefile
@@ -7,7 +7,7 @@
PORTNAME= binutils
PORTVERSION= 2.10.91
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= http://lev.serebryakov.spb.ru/download/agenda/
PKGNAMEPREFIX= mipsel-linux-
@@ -20,7 +20,8 @@ WRKSRC= ${WRKDIR}/binutils-CVS/src
USE_BZIP2= yes
USE_GMAKE= yes
-CONFIGURE_ARGS= --target=${PKGNAMEPREFIX:S/-$//}
+CONFIGURE_ARGS= --target=${PKGNAMEPREFIX:S/-$//} --with-gnu-ld --with-gnu-as \
+ --with-gcc --without-x11
USE_LIBTOOL= yes
LIBTOOLFILES= configure bfd/configure binutils/configure etc/configure \
gas/configure gprof/configure ld/configure opcodes/configure
@@ -43,7 +44,5 @@ post-install:
@${LN} -f ${PREFIX}/bin/${PKGNAMEPREFIX}$F \
${PREFIX}/${PKGNAMEPREFIX:S/-$//}/bin/$F
.endfor
- @cd ${PREFIX}/lib ; ${MV} libbfd.a lib${PKGNAMEPREFIX}bfd.a
- @cd ${PREFIX}/lib ; ${MV} libopcodes.a lib${PKGNAMEPREFIX}opcodes.a
.include <bsd.port.mk>
diff --git a/devel/mipsel-linux-binutils/files/patch-Makefile.in b/devel/mipsel-linux-binutils/files/patch-Makefile.in
new file mode 100644
index 000000000000..ca1eba891ec1
--- /dev/null
+++ b/devel/mipsel-linux-binutils/files/patch-Makefile.in
@@ -0,0 +1,20 @@
+--- Makefile.in.orig Sun Nov 19 01:01:34 2000
++++ Makefile.in Wed Oct 15 17:47:32 2003
+@@ -623,9 +623,7 @@
+ install-autoconf \
+ install-automake \
+ install-bash \
+- install-bfd \
+ install-bzip2 \
+- install-opcodes \
+ install-binutils \
+ install-bison \
+ install-byacc \
+@@ -658,7 +656,6 @@
+ install-itcl \
+ install-ld \
+ install-libgui \
+- install-libiberty \
+ install-libtool \
+ install-m4 \
+ install-make \
diff --git a/devel/mipsel-linux-binutils/pkg-plist b/devel/mipsel-linux-binutils/pkg-plist
index 946240afcc28..ba00a61d6175 100644
--- a/devel/mipsel-linux-binutils/pkg-plist
+++ b/devel/mipsel-linux-binutils/pkg-plist
@@ -13,9 +13,6 @@
%%BINUTILS_TARG%%/bin/strip
%%BINUTILS_TARG%%/bin/size
%%BINUTILS_TARG%%/bin/strings
-include/ansidecl.h
-include/bfd.h
-include/bfdlink.h
%%BINUTILS_TARG%%/lib/ldscripts/elf32bsmip.x
%%BINUTILS_TARG%%/lib/ldscripts/elf32bsmip.xbn
%%BINUTILS_TARG%%/lib/ldscripts/elf32bsmip.xn
@@ -38,9 +35,6 @@ include/bfdlink.h
%%BINUTILS_TARG%%/lib/ldscripts/mipslit.xn
%%BINUTILS_TARG%%/lib/ldscripts/mipslit.xr
%%BINUTILS_TARG%%/lib/ldscripts/mipslit.xu
-lib/libiberty.a
-lib/lib%%BINUTILS_TARG%%-bfd.a
-lib/lib%%BINUTILS_TARG%%-opcodes.a
bin/%%BINUTILS_TARG%%-addr2line
bin/%%BINUTILS_TARG%%-ar
bin/%%BINUTILS_TARG%%-as