pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/py-uwsgi --libs for python-config is evil, it make...
details: https://anonhg.NetBSD.org/pkgsrc/rev/2bbe7ffac675
branches: trunk
changeset: 571219:2bbe7ffac675
user: joerg <joerg%pkgsrc.org@localhost>
date: Wed Feb 10 13:25:03 2010 +0000
description:
--libs for python-config is evil, it makes it find the static lib first.
Bump revision.
diffstat:
www/py-uwsgi/Makefile | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (33 lines):
diff -r 2f60351dc184 -r 2bbe7ffac675 www/py-uwsgi/Makefile
--- a/www/py-uwsgi/Makefile Wed Feb 10 12:39:38 2010 +0000
+++ b/www/py-uwsgi/Makefile Wed Feb 10 13:25:03 2010 +0000
@@ -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 @@
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 @@
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} \
Home |
Main Index |
Thread Index |
Old Index