pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/libpciaccess libpciaccess should work on all ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/587a7f4e3f9d
branches:  trunk
changeset: 646734:587a7f4e3f9d
user:      riastradh <riastradh%pkgsrc.org@localhost>
date:      Sat Feb 14 05:52:11 2015 +0000

description:
libpciaccess should work on all NetBSD ports, provided -lpci.

diffstat:

 sysutils/libpciaccess/Makefile |  12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diffs (34 lines):

diff -r 6df257a3a6b2 -r 587a7f4e3f9d sysutils/libpciaccess/Makefile
--- a/sysutils/libpciaccess/Makefile    Sat Feb 14 05:34:13 2015 +0000
+++ b/sysutils/libpciaccess/Makefile    Sat Feb 14 05:52:11 2015 +0000
@@ -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 @@
 ###
 ### 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"



Home | Main Index | Thread Index | Old Index