1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00

- Build libpci.so with libz (-lz)

- Bump PORTREVISION for package change

Reported by:	olgeni
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2011-10-07 10:43:43 +00:00
parent 34a6b59131
commit 579968fc95
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=283110
2 changed files with 2 additions and 1 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= libpci
PORTVERSION= 3.1.8
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/ \
LOCAL/sunpoet

View File

@ -4,7 +4,7 @@
rm -f $@
$(AR) rcs $@ $^
$(RANLIB) $@
+ $(CC) $(CFLAGS) -shared $^ -o libpci.so
+ $(CC) $(CFLAGS) -shared $^ -lz -o libpci.so
else
CFLAGS += -fPIC -fvisibility=hidden
$(PCILIB): $(addsuffix .o,$(OBJS))