diff options
author | jperkin <jperkin@pkgsrc.org> | 2012-11-21 07:46:40 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2012-11-21 07:46:40 +0000 |
commit | aa5eff427ba9955396687af366903fae7a6dfe10 (patch) | |
tree | 136aa5ca1783c612a6549ff8c9aef2f5d3435619 /devel | |
parent | 2441c5144972a27d0db2f4dced7ffcc3ed88be29 (diff) | |
download | pkgsrc-aa5eff427ba9955396687af366903fae7a6dfe10.tar.gz |
PLIST vars need to be undefined if not used.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/binutils/Makefile | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/devel/binutils/Makefile b/devel/binutils/Makefile index 7685307242b..9232fe2302a 100644 --- a/devel/binutils/Makefile +++ b/devel/binutils/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.48 2012/11/21 00:17:11 jperkin Exp $ +# $NetBSD: Makefile,v 1.49 2012/11/21 07:46:40 jperkin Exp $ DISTNAME= binutils-2.22 PKGREVISION= 1 @@ -36,8 +36,6 @@ INSTALLATION_DIRS= gnu/bin gnu/man/man1 # gprof (XXX: and others?) cannot be built on all platforms # PLIST_VARS+= gprof ld -PLIST.gprof= # empty -PLIST.ld= # empty .include "../../mk/bsd.prefs.mk" @@ -71,10 +69,10 @@ post-configure: SYMLINK_FILES = addr2line ar as c++filt dlltool elfedit ld.bfd \ nlmconv nm objcopy objdump ranlib readelf size strings \ strip windmc windres -.if ${PLIST.gprof} == "yes" +.if defined(PLIST.gprof) SYMLINK_FILES+= gprof .endif -.if ${PLIST.ld} == "yes" +.if defined(PLIST.ld) SYMLINK_FILES+= ld .endif |