aboutsummaryrefslogtreecommitdiff
path: root/devel/libpci
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2010-09-28 08:56:43 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2010-09-28 08:56:43 +0000
commitc9fffa179ed8cad3bda61aaeeeb93e5fc8671773 (patch)
treea1a14a1891cc07ed08e41b5284e1e021476e2038 /devel/libpci
parenta7cd4eef7d60107ac8280f7306c71211503f20f9 (diff)
downloadports-c9fffa179ed8cad3bda61aaeeeb93e5fc8671773.tar.gz
ports-c9fffa179ed8cad3bda61aaeeeb93e5fc8671773.zip
- Add misc/pciids to RUN_DEPENDS
- Bump PORTREVISION PR: ports/150236 Submitted by: Sten Spans <sten at blinkenlights.nl> Approved by: pgollucci (mentor)
Notes
Notes: svn path=/head/; revision=262016
Diffstat (limited to 'devel/libpci')
-rw-r--r--devel/libpci/Makefile4
-rw-r--r--devel/libpci/files/patch-Makefile19
2 files changed, 17 insertions, 6 deletions
diff --git a/devel/libpci/Makefile b/devel/libpci/Makefile
index f97d43a8c959..cd4bddef3d27 100644
--- a/devel/libpci/Makefile
+++ b/devel/libpci/Makefile
@@ -7,7 +7,7 @@
PORTNAME= libpci
PORTVERSION= 3.1.7
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/ \
${MASTER_SITE_KERNEL_ORG} \
@@ -18,6 +18,8 @@ DISTNAME= pciutils-${PORTVERSION}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= PCI configuration space I/O made easy
+RUN_DEPENDS= ${LOCALBASE}/share/pciids/pci.ids:${PORTSDIR}/misc/pciids
+
ALL_TARGET= lib/libpci.a
MAKE_ENV= LANG=C
USE_GMAKE= yes
diff --git a/devel/libpci/files/patch-Makefile b/devel/libpci/files/patch-Makefile
index 8a6109a68eb0..705b2c8eb271 100644
--- a/devel/libpci/files/patch-Makefile
+++ b/devel/libpci/files/patch-Makefile
@@ -1,12 +1,21 @@
---- Makefile.orig Sat Jan 4 15:53:01 2003
-+++ Makefile Fri Jun 13 21:20:28 2003
+--- Makefile.orig 2010-02-01 01:42:12.000000000 +0800
++++ Makefile 2010-09-14 15:54:51.000000000 +0800
@@ -1,8 +1,7 @@
# Makefile for The PCI Utilities
- # (c) 1998--2007 Martin Mares <mj@ucw.cz>
+ # (c) 1998--2010 Martin Mares <mj@ucw.cz>
-OPT=-O2
-CFLAGS=$(OPT) -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes
+CFLAGS+=-fPIC -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes
- VERSION=2.2.8
- DATE=2007-10-19
+ VERSION=3.1.7
+ DATE=2010-01-31
+@@ -28,7 +27,7 @@
+ PREFIX=/usr/local
+ SBINDIR=$(PREFIX)/sbin
+ SHAREDIR=$(PREFIX)/share
+-IDSDIR=$(SHAREDIR)
++IDSDIR=$(SHAREDIR)/pciids
+ MANDIR:=$(shell if [ -d $(PREFIX)/share/man ] ; then echo $(PREFIX)/share/man ; else echo $(PREFIX)/man ; fi)
+ INCDIR=$(PREFIX)/include
+ LIBDIR=$(PREFIX)/lib