freebsd-ports/devel/libpci/files/patch-lib::Makefile
Mark Linimon c44e7878b1 Fix build; also add -fPIC for amd64.
Submitted by:	maintainer
Approved by:	portmgr (self)
Tested on:	pointyhat
2007-11-11 15:53:03 +00:00

10 lines
267 B
Text

--- lib/Makefile.orig Thu Dec 26 22:28:33 2002
+++ lib/Makefile Sat Jun 28 05:39:36 2003
@@ -56,6 +56,7 @@
rm -f $@
$(AR) rcs $@ $^
$(RANLIB) $@
+ $(CC) $(CFLAGS) -shared $^ -o libpci.so
$(PCILIBPC): $(PCILIBPC).in
sed <$< >$@ -e 's,@PREFIX@,$(PREFIX),' \