pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/pciutils The installed library is named 'pciu...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dae729f0fcc0
branches:  trunk
changeset: 461675:dae729f0fcc0
user:      cube <cube%pkgsrc.org@localhost>
date:      Fri Sep 19 09:30:42 2003 +0000

description:
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:

 sysutils/pciutils/Makefile |  12 ++++++++++--
 sysutils/pciutils/PLIST    |   4 ++--
 2 files changed, 12 insertions(+), 4 deletions(-)

diffs (43 lines):

diff -r f83478fc3d3c -r dae729f0fcc0 sysutils/pciutils/Makefile
--- a/sysutils/pciutils/Makefile        Fri Sep 19 09:26:01 2003 +0000
+++ b/sysutils/pciutils/Makefile        Fri Sep 19 09:30:42 2003 +0000
@@ -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 @@
                ftp://ftp.kernel.org/pub/software/utils/pciutils/ \
                ftp://metalab.unc.edu/pub/Linux/hardware/
 
-MAINTAINER=    cube%cubidou.net@localhost
+MAINTAINER=    cube%NetBSD.org@localhost
 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 -r f83478fc3d3c -r dae729f0fcc0 sysutils/pciutils/PLIST
--- a/sysutils/pciutils/PLIST   Fri Sep 19 09:26:01 2003 +0000
+++ b/sysutils/pciutils/PLIST   Fri Sep 19 09:30:42 2003 +0000
@@ -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



Home | Main Index | Thread Index | Old Index