summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2012-12-19 14:05:26 +0000
committerjperkin <jperkin@pkgsrc.org>2012-12-19 14:05:26 +0000
commita672faeb64d3f9355d696fdcfb60e836ab68cce1 (patch)
treedaeb2cc4098e5c36e6012cf46cf4ce533043b0be
parent8548eb105d1661d373b9e6bee92ca8974acd9951 (diff)
downloadpkgsrc-a672faeb64d3f9355d696fdcfb60e836ab68cce1.tar.gz
Enable package on Solaris 11 and friends.
-rw-r--r--sysutils/pciutils/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/sysutils/pciutils/Makefile b/sysutils/pciutils/Makefile
index 6779a1dfad5..4d9606b20c1 100644
--- a/sysutils/pciutils/Makefile
+++ b/sysutils/pciutils/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2012/10/23 19:51:19 asau Exp $
+# $NetBSD: Makefile,v 1.22 2012/12/19 14:05:26 jperkin Exp $
DISTNAME= pciutils-3.1.10
CATEGORIES= sysutils
@@ -12,7 +12,7 @@ LICENSE= gnu-gpl-v2
MAKE_JOBS_SAFE= no
ONLY_FOR_PLATFORM= AIX-*-* FreeBSD-*-* Linux-*-* NetBSD-*-*
-ONLY_FOR_PLATFORM+= DragonFly-*-* OpenBSD-*-*
+ONLY_FOR_PLATFORM+= DragonFly-*-* OpenBSD-*-* SunOS-5.11-*
INSTALL_TARGET= install install-lib
USE_TOOLS+= gmake pkg-config
@@ -20,7 +20,6 @@ REPLACE_SH= *.sh
PKGCONFIG_OVERRIDE= lib/libpci.pc.in
-
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD"
@@ -37,4 +36,12 @@ SUBST_MESSAGE.pc= Fixing library link specification in pkg-config file.
SUBST_STAGE.pc= pre-configure
SUBST_VARS.pc= PCIUTILS_LIBNAME
+.if ${OPSYS} == "SunOS"
+SUBST_CLASSES= dns
+SUBST_MESSAGE.dns= Disabling DNS support on Solaris
+SUBST_STAGE.dns= pre-configure
+SUBST_FILES.dns= Makefile
+SUBST_SED.dns= -e 's/^DNS=/DNS=no/'
+.endif
+
.include "../../mk/bsd.pkg.mk"