summaryrefslogtreecommitdiff
path: root/sysutils/pciutils
diff options
context:
space:
mode:
authorkhorben <khorben@pkgsrc.org>2016-04-14 23:21:45 +0000
committerkhorben <khorben@pkgsrc.org>2016-04-14 23:21:45 +0000
commit51cfbc166d764271df590ec6619a77bd530bd854 (patch)
tree26cd37c2bed60c888f9f5ce0e63e0fda19e42d67 /sysutils/pciutils
parent493ac4218e1eb537ef739d802dbedf01c6f39bee (diff)
downloadpkgsrc-51cfbc166d764271df590ec6619a77bd530bd854.tar.gz
Add support for CFLAGS and LDFLAGS
This fixes the build with PKGSRC_MKPIE.
Diffstat (limited to 'sysutils/pciutils')
-rw-r--r--sysutils/pciutils/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/sysutils/pciutils/Makefile b/sysutils/pciutils/Makefile
index 7b3a6a939f4..22fd30d5c0c 100644
--- a/sysutils/pciutils/Makefile
+++ b/sysutils/pciutils/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2016/03/23 19:35:48 jperkin Exp $
+# $NetBSD: Makefile,v 1.29 2016/04/14 23:21:45 khorben Exp $
DISTNAME= pciutils-3.4.1
PKGREVISION= 1
@@ -15,6 +15,9 @@ MAKE_JOBS_SAFE= no
ONLY_FOR_PLATFORM= AIX-*-* Darwin-*-* FreeBSD-*-* Linux-*-* NetBSD-*-*
ONLY_FOR_PLATFORM+= DragonFly-*-* OpenBSD-*-* SunOS-5.11-* Haiku-*-*
+MAKE_FLAGS+= CFLAGS=${CFLAGS:Q}
+MAKE_FLAGS+= LDFLAGS=${LDFLAGS:Q}
+
INSTALL_TARGET= install install-lib
USE_TOOLS+= gmake pkg-config
REPLACE_SH= *.sh