summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorriastradh <riastradh>2015-02-14 05:52:11 +0000
committerriastradh <riastradh>2015-02-14 05:52:11 +0000
commit77eaa01eb146183d1bdb108b3db273b3ef9aa549 (patch)
treeaf5fdad6a113b4fb5dd8f4028b151182d8b22bb4 /sysutils
parent4610d1747750c3d48c64c133ddd573faed0f8685 (diff)
downloadpkgsrc-77eaa01eb146183d1bdb108b3db273b3ef9aa549.tar.gz
libpciaccess should work on all NetBSD ports, provided -lpci.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/libpciaccess/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/sysutils/libpciaccess/Makefile b/sysutils/libpciaccess/Makefile
index a703c5e11ba..8a941124ec3 100644
--- a/sysutils/libpciaccess/Makefile
+++ b/sysutils/libpciaccess/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2015/02/04 06:59:46 wiz Exp $
+# $NetBSD: Makefile,v 1.21 2015/02/14 05:52:11 riastradh Exp $
DISTNAME= libpciaccess-0.13.3
CATEGORIES= sysutils x11
@@ -13,17 +13,21 @@ LICENSE= mit AND x11
###
### XXX This list is probably not exhaustive.
###
-ONLY_FOR_PLATFORM= FreeBSD-*-i386 NetBSD-*-i386 OpenBSD-*-i386
-ONLY_FOR_PLATFORM+= FreeBSD-*-x86_64 NetBSD-*-x86_64 OpenBSD-*-x86_64
+ONLY_FOR_PLATFORM= FreeBSD-*-i386 OpenBSD-*-i386
+ONLY_FOR_PLATFORM+= FreeBSD-*-x86_64 OpenBSD-*-x86_64
ONLY_FOR_PLATFORM+= DragonFly-*-i386 DragonFly-*-x86_64
ONLY_FOR_PLATFORM+= Linux-*-* SunOS-*-* Darwin-*-*
-ONLY_FOR_PLATFORM+= NetBSD-*-sparc64 NetBSD-*-hppa
+ONLY_FOR_PLATFORM+= NetBSD-*-*
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-zlib
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
+# Harmless on x86; needed by others because the libpciaccess configure
+# script doesn't know this.
+LIBS.NetBSD+= -lpci
+
PKGCONFIG_OVERRIDE+= pciaccess.pc.in
.include "../../devel/zlib/buildlink3.mk"