needs -fPIC, pointed out by jasper.

This commit is contained in:
sthen 2009-04-08 09:09:23 +00:00
parent cd1cf94648
commit 70714b561e

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.1.1.1 2009/04/03 15:45:41 sthen Exp $
# $OpenBSD: Makefile,v 1.2 2009/04/08 09:09:23 sthen Exp $
COMMENT = libpcap module for Python
MODPY_EGG_VERSION = 0.10.5
DISTNAME = pcapy-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
PKGNAME = py-${DISTNAME}p0
CATEGORIES = net devel
@ -24,6 +24,8 @@ MODULES = lang/python
NO_REGRESS = Yes
MAKE_ENV += LDSHARED="${CC} -shared -fPIC"
# fix msdos line-endings
pre-patch:
cd ${WRKSRC}; perl -i -pe 's/\r$$//' `find . -type f`