diff options
Diffstat (limited to 'sysutils/pciutils/Makefile')
-rw-r--r-- | sysutils/pciutils/Makefile | 13 |
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" |