diff options
author | joerg <joerg@pkgsrc.org> | 2010-02-10 13:25:03 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-02-10 13:25:03 +0000 |
commit | 9a1301afc570da53a3cb3d5fd0e6e469b3c731fc (patch) | |
tree | 0619c659cdc7d753db4bf348e1cd74506d9f1ad9 /www | |
parent | 5a80e27ec454d36879c4b702747a0b7bc5ae8eaf (diff) | |
download | pkgsrc-9a1301afc570da53a3cb3d5fd0e6e469b3c731fc.tar.gz |
--libs for python-config is evil, it makes it find the static lib first.
Bump revision.
Diffstat (limited to 'www')
-rw-r--r-- | www/py-uwsgi/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/www/py-uwsgi/Makefile b/www/py-uwsgi/Makefile index f1f9698c716..abf1bd9565e 100644 --- a/www/py-uwsgi/Makefile +++ b/www/py-uwsgi/Makefile @@ -1,8 +1,9 @@ -# $NetBSD: Makefile,v 1.1.1.1 2010/02/09 22:34:26 joerg Exp $ +# $NetBSD: Makefile,v 1.2 2010/02/10 13:25:03 joerg Exp $ # DISTNAME= uwsgi-0.9.4.1 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +PKGREVISION= 1 CATEGORIES= www python MASTER_SITES= http://projects.unbit.it/downloads/ @@ -15,7 +16,7 @@ PKG_DESTDIR_SUPPORT= user-destdir LICENSE= gnu-gpl-v2 CFLAGS.python= ${PYTHONCONFIG} --cflags -LDFLAGS.python= ${PYTHONCONFIG} --ldflags --libs +LDFLAGS.python= ${PYTHONCONFIG} --ldflags CFLAGS.libxml2= xml2-config --cflags LDFLAGS.libxml2= xml2-config --libs @@ -23,6 +24,9 @@ INSTALLATION_DIRS+= bin PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX} +.include "../../mk/bsd.prefs.mk" + +LDFLAGS+= -Wl,-rpath,${PREFIX}/lib -L${PREFIX}/lib do-build: cd ${WRKSRC} && \ ${CC} -o uwsgi ${CFLAGS} ${CFLAGS.python:sh} ${CFLAGS.libxml2:sh} \ |