summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorcube <cube@pkgsrc.org>2003-09-19 09:30:42 +0000
committercube <cube@pkgsrc.org>2003-09-19 09:30:42 +0000
commit3d68afcfbba3bc89c064c107ed0d05fd9376803e (patch)
treed72b6cbaad886dc9eadb9527200eb2852213000e /sysutils
parentbba140b1041f051adaec3d2c768234c2c711b21c (diff)
downloadpkgsrc-3d68afcfbba3bc89c064c107ed0d05fd9376803e.tar.gz
The installed library is named 'pciutils' only on NetBSD to avoid
collision with the library from base. All other OSes need to know the real name. OK'd by seb@ and agc@. Change my e-mail address, while I'm here.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/pciutils/Makefile12
-rw-r--r--sysutils/pciutils/PLIST4
2 files changed, 12 insertions, 4 deletions
diff --git a/sysutils/pciutils/Makefile b/sysutils/pciutils/Makefile
index a66a9d23652..41cae3dd6df 100644
--- a/sysutils/pciutils/Makefile
+++ b/sysutils/pciutils/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2003/02/26 00:12:42 kristerw Exp $
+# $NetBSD: Makefile,v 1.2 2003/09/19 09:30:42 cube Exp $
DISTNAME= pciutils-2.1.11
CATEGORIES= sysutils
@@ -6,10 +6,18 @@ MASTER_SITES= ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/ \
ftp://ftp.kernel.org/pub/software/utils/pciutils/ \
ftp://metalab.unc.edu/pub/Linux/hardware/
-MAINTAINER= cube@cubidou.net
+MAINTAINER= cube@NetBSD.org
HOMEPAGE= http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml
COMMENT= PCI bus manipulation utility similar to NetBSD pcictl(8)
USE_GMAKE= YES
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "NetBSD"
+PLIST_SUBST+= PCIUTILS_LIBNAME="pciutils"
+.else
+PLIST_SUBST+= PCIUTILS_LIBNAME="pci"
+.endif
+
.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/pciutils/PLIST b/sysutils/pciutils/PLIST
index 5dd0898bfd4..a281d86f1c5 100644
--- a/sysutils/pciutils/PLIST
+++ b/sysutils/pciutils/PLIST
@@ -1,8 +1,8 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2003/02/26 00:12:43 kristerw Exp $
+@comment $NetBSD: PLIST,v 1.2 2003/09/19 09:30:43 cube Exp $
include/pciutils/config.h
include/pciutils/header.h
include/pciutils/pci.h
-lib/libpciutils.a
+lib/lib${PCIUTILS_LIBNAME}.a
man/man8/lspci.8
man/man8/setpci.8
man/man8/update-pciids.8