diff options
author | cube <cube> | 2003-09-19 09:30:42 +0000 |
---|---|---|
committer | cube <cube> | 2003-09-19 09:30:42 +0000 |
commit | 0eacf081528fa7633071d5a2f4f9fa7857e258fb (patch) | |
tree | d72b6cbaad886dc9eadb9527200eb2852213000e /sysutils/pciutils | |
parent | 32b9af3b0ec770630484066d13c0144f07826fd8 (diff) | |
download | pkgsrc-0eacf081528fa7633071d5a2f4f9fa7857e258fb.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/pciutils')
-rw-r--r-- | sysutils/pciutils/Makefile | 12 | ||||
-rw-r--r-- | sysutils/pciutils/PLIST | 4 |
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 |