- Fix includes and linker settings for lang/python2*'s PTH options

PR:		ports/156425
Reported by:	Iwao, Koichiro <meta@club.kyutech.ac.jp>
This commit is contained in:
Marcus von Appen 2012-07-23 17:00:46 +00:00
parent 75e5621e44
commit 4a9355f439
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=301403

View file

@ -5,7 +5,7 @@
# $FreeBSD$ # $FreeBSD$
# #
PORTREVISION= 1 PORTREVISION= 2
CATEGORIES= textproc gnome python CATEGORIES= textproc gnome python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -20,6 +20,8 @@ PLIST= ${.CURDIR}/pkg-plist
USE_GNOME= gnomehack libxml2 USE_GNOME= gnomehack libxml2
USE_PYTHON= yes USE_PYTHON= yes
CPPFLAGS+= `${PYTHON_VERSION}-config --cflags`
LDFLAGS+= `${PYTHON_VERSION}-config --libs`
CONFIGURE_ARGS= --with-iconv=${LOCALBASE} \ CONFIGURE_ARGS= --with-iconv=${LOCALBASE} \
--with-html-dir=${PREFIX}/share/doc \ --with-html-dir=${PREFIX}/share/doc \
--with-html-subdir=${PORTNAME} \ --with-html-subdir=${PORTNAME} \