pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/pciutils pciutils: compile with -fPIC so lib ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6693d7a351bb
branches:  trunk
changeset: 448220:6693d7a351bb
user:      markd <markd%pkgsrc.org@localhost>
date:      Sat Mar 06 10:30:15 2021 +0000

description:
pciutils: compile with -fPIC so lib can be used in other shared libs

diffstat:

 sysutils/pciutils/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 07fbb7b79e08 -r 6693d7a351bb sysutils/pciutils/Makefile
--- a/sysutils/pciutils/Makefile        Sat Mar 06 09:45:07 2021 +0000
+++ b/sysutils/pciutils/Makefile        Sat Mar 06 10:30:15 2021 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.45 2020/06/01 15:47:53 msaitoh Exp $
+# $NetBSD: Makefile,v 1.46 2021/03/06 10:30:15 markd Exp $
 
 DISTNAME=      pciutils-3.7.0
+PKGREVISION=   1
 CATEGORIES=    sysutils
 MASTER_SITES=  ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/
 MASTER_SITES+= https://www.kernel.org/pub/software/utils/pciutils/
@@ -14,6 +15,7 @@
 ONLY_FOR_PLATFORM=     AIX-*-* Darwin-*-* FreeBSD-*-* Linux-*-* NetBSD-*-*
 ONLY_FOR_PLATFORM+=    DragonFly-*-* OpenBSD-*-* SunOS-5.11-* Haiku-*-*
 
+CFLAGS+=               -fPIC
 MAKE_FLAGS+=           CFLAGS=${CFLAGS:Q}
 MAKE_FLAGS+=           LDFLAGS=${LDFLAGS:Q}
 



Home | Main Index | Thread Index | Old Index