aboutsummaryrefslogtreecommitdiff
path: root/devel/binutils
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2009-07-10 12:38:00 +0000
committerMartin Matuska <mm@FreeBSD.org>2009-07-10 12:38:00 +0000
commite3f28284d18765dc84d9448fdcde63612a1e909c (patch)
treec5aa5fb8a3d832d166a87a79665bf47f084fc58b /devel/binutils
parent56a635fc5126dde827c654f9811d4b4ed0e44156 (diff)
downloadports-e3f28284d18765dc84d9448fdcde63612a1e909c.tar.gz
ports-e3f28284d18765dc84d9448fdcde63612a1e909c.zip
Notes
Diffstat (limited to 'devel/binutils')
-rw-r--r--devel/binutils/Makefile7
-rw-r--r--devel/binutils/pkg-plist4
2 files changed, 10 insertions, 1 deletions
diff --git a/devel/binutils/Makefile b/devel/binutils/Makefile
index 8d4372dfcd25..f3c117f95d18 100644
--- a/devel/binutils/Makefile
+++ b/devel/binutils/Makefile
@@ -7,6 +7,7 @@
PORTNAME= binutils
PORTVERSION= 2.19.1
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEWARE}
MASTER_SITE_SUBDIR= binutils/releases
@@ -64,6 +65,12 @@ PLIST_SUB+= NLS="@comment"
.include <bsd.port.pre.mk>
+.if ${OSVERSION} < 700000
+PLIST_SUB+= POST7="@comment " PRE7=""
+.else
+PLIST_SUB+= POST7="" PRE7="@comment "
+.endif
+
.if ${ARCH} == "amd64"
ARCH= x86_64
.endif
diff --git a/devel/binutils/pkg-plist b/devel/binutils/pkg-plist
index 6dd9f57718f5..1e73566fb7a8 100644
--- a/devel/binutils/pkg-plist
+++ b/devel/binutils/pkg-plist
@@ -19,7 +19,8 @@ include/dis-asm.h
include/symcat.h
lib/libbfd.a
lib/libbfd.la
-lib/libiberty.a
+%%PRE7%%lib/elf/libiberty.a
+%%POST7%%lib/libiberty.a
lib/libopcodes.a
lib/libopcodes.la
%%NLS%%share/locale/da/LC_MESSAGES/bfd.mo
@@ -91,3 +92,4 @@ lib/libopcodes.la
%%NLS%%share/locale/zh_CN/LC_MESSAGES/opcodes.mo
%%NLS%%share/locale/zh_TW/LC_MESSAGES/binutils.mo
%%NLS%%share/locale/zh_TW/LC_MESSAGES/ld.mo
+%%PRE7%%@dirrmtry elf