diff options
author | seb <seb> | 2003-06-23 10:12:35 +0000 |
---|---|---|
committer | seb <seb> | 2003-06-23 10:12:35 +0000 |
commit | 50d3ac30b7e70794c9909b192223eae4ffde895c (patch) | |
tree | 5c5f38706d8513c0ef7342c7a22f51bba56655ee /devel | |
parent | 7d275c856b0422f383b09ad7e1d34ba2951237c6 (diff) | |
download | pkgsrc-50d3ac30b7e70794c9909b192223eae4ffde895c.tar.gz |
Convert to USE_NEW_TEXINFO.
While here fix hidden build dependency on Perl hence bump PKGREVISION.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/binutils/Makefile | 17 | ||||
-rw-r--r-- | devel/binutils/PLIST.common | 12 |
2 files changed, 16 insertions, 13 deletions
diff --git a/devel/binutils/Makefile b/devel/binutils/Makefile index 9541a43f037..12ab238e4e2 100644 --- a/devel/binutils/Makefile +++ b/devel/binutils/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.10 2003/06/08 20:17:13 fredb Exp $ +# $NetBSD: Makefile,v 1.11 2003/06/23 10:12:35 seb Exp $ # DISTNAME= binutils-2.13.2.1 +PKGREVISION= 1 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_GNU:=binutils/} @@ -16,9 +17,21 @@ PLIST_SRC= ${PKGDIR}/PLIST.common PLIST_SRC+= ${WRKDIR}/PLIST_DYNAMIC PLIST_SRC+= ${PKGDIR}/PLIST.common_end +USE_NEW_TEXINFO= YES +USE_MAKEINFO= YES +INFO_FILES= as.info bfd.info binutils.info gprof.info ld.info + +# Prevent the need to run texi2pod.pl and pod2man hence +# the need for perl as build dependency. +post-configure: + cd ${WRKSRC}; \ + for f in ld/ldver.texi ld/ld.1 gas/doc/gasver.texi \ + gas/doc/as.1; do \ + ${TOUCH} $${f}; \ + done + post-install: ${FIND} ${PREFIX}/${MACHINE_GNU_PLATFORM}/lib/ldscripts -type f -print | \ ${SORT} -r | ${SED} 's;${PREFIX}/;;g' > ${WRKDIR}/PLIST_DYNAMIC -.include "../../mk/texinfo.mk" .include "../../mk/bsd.pkg.mk" diff --git a/devel/binutils/PLIST.common b/devel/binutils/PLIST.common index 66cd9f6b670..0d864cce229 100644 --- a/devel/binutils/PLIST.common +++ b/devel/binutils/PLIST.common @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST.common,v 1.3 2003/06/11 14:46:00 fredb Exp $ +@comment $NetBSD: PLIST.common,v 1.4 2003/06/23 10:12:35 seb Exp $ ${MACHINE_GNU_PLATFORM}/bin/ar ${MACHINE_GNU_PLATFORM}/bin/as ${MACHINE_GNU_PLATFORM}/bin/ld @@ -24,11 +24,6 @@ include/bfd.h include/bfdlink.h include/dis-asm.h include/symcat.h -@unexec ${INSTALL_INFO} --delete %D/info/as.info %D/info/dir -@unexec ${INSTALL_INFO} --delete %D/info/bfd.info %D/info/dir -@unexec ${INSTALL_INFO} --delete %D/info/binutils.info %D/info/dir -@unexec ${INSTALL_INFO} --delete %D/info/gprof.info %D/info/dir -@unexec ${INSTALL_INFO} --delete %D/info/ld.info %D/info/dir info/as.info info/as.info-1 info/as.info-10 @@ -66,11 +61,6 @@ info/ld.info-3 info/ld.info-4 info/ld.info-5 info/ld.info-6 -@exec ${INSTALL_INFO} %D/info/as.info %D/info/dir -@exec ${INSTALL_INFO} %D/info/bfd.info %D/info/dir -@exec ${INSTALL_INFO} %D/info/binutils.info %D/info/dir -@exec ${INSTALL_INFO} %D/info/gprof.info %D/info/dir -@exec ${INSTALL_INFO} %D/info/ld.info %D/info/dir lib/libbfd.a lib/libbfd.la lib/libopcodes.a |