summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorjperkin <jperkin>2012-11-21 07:46:40 +0000
committerjperkin <jperkin>2012-11-21 07:46:40 +0000
commitba20a39b4aecf416722ef6506008125294853b32 (patch)
tree136aa5ca1783c612a6549ff8c9aef2f5d3435619 /devel
parent0420437e195b47cb3c2b2f53b389b50b4d871fdd (diff)
downloadpkgsrc-ba20a39b4aecf416722ef6506008125294853b32.tar.gz
PLIST vars need to be undefined if not used.
Diffstat (limited to 'devel')
-rw-r--r--devel/binutils/Makefile8
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