diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2001-04-21 11:43:12 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2001-04-21 11:43:12 +0000 |
commit | 7b488295120bfec78abcdd29c219fd0995676c04 (patch) | |
tree | 24fccee7f220d354bab8169352f38ae33d6ecb56 /databases/py-PyGreSQL | |
parent | Upgrade to 7.1, change to new layout style. (diff) |
Fix include directory for postgresql7.1's new layout.
Notes
Notes:
svn path=/head/; revision=41759
Diffstat (limited to 'databases/py-PyGreSQL')
-rw-r--r-- | databases/py-PyGreSQL/Makefile | 44 | ||||
-rw-r--r-- | databases/py-PyGreSQL/distinfo | 2 | ||||
-rw-r--r-- | databases/py-PyGreSQL/files/Makefile | 4 |
3 files changed, 25 insertions, 25 deletions
diff --git a/databases/py-PyGreSQL/Makefile b/databases/py-PyGreSQL/Makefile index 323994cf000b..41c093d77e73 100644 --- a/databases/py-PyGreSQL/Makefile +++ b/databases/py-PyGreSQL/Makefile @@ -5,28 +5,28 @@ # $FreeBSD$ # -PORTNAME= PyGreSQL -PORTVERSION= 3.0 -CATEGORIES= databases python -MASTER_SITES= ftp://ftp.druid.net/pub/distrib/ -PKGNAMEPREFIX= py- -DISTNAME= PyGreSQL-${PORTVERSION} -EXTRACT_SUFX= .tgz - -MAINTAINER= nectar@FreeBSD.org - -BUILD_DEPENDS= ${DATETIME_DEP}:${PORTSDIR}/lang/py-mx-base -RUN_DEPENDS= ${DATETIME_DEP}:${PORTSDIR}/lang/py-mx-base -LIB_DEPENDS= pq.2:${PORTSDIR}/databases/postgresql7 - -USE_PYTHON= yes -MAKE_ENV= PYTHON_VERSION=${PYTHON_VERSION} \ - PYTHON_LIBDIR=${PYTHON_LIBDIR} \ - PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR} \ - PYTHON=${PYTHON_CMD} \ - LN="${LN}" SETENV="${SETENV}" MKDIR="${MKDIR}" - -DATETIME_DEP= ${PYTHON_SITELIBDIR}/mx/DateTime/__init__.py +PORTNAME= PyGreSQL +PORTVERSION= 3.1 +CATEGORIES= databases python +MASTER_SITES= ftp://ftp.druid.net/pub/distrib/ +PKGNAMEPREFIX= py- +DISTNAME= PyGreSQL-${PORTVERSION} +EXTRACT_SUFX= .tgz + +MAINTAINER= nectar@FreeBSD.org + +BUILD_DEPENDS= ${DATETIME_DEP}:${PORTSDIR}/lang/py-mx-base +RUN_DEPENDS= ${DATETIME_DEP}:${PORTSDIR}/lang/py-mx-base +LIB_DEPENDS= pq.2:${PORTSDIR}/databases/postgresql7 + +USE_PYTHON= yes +MAKE_ENV= PYTHON_VERSION=${PYTHON_VERSION} \ + PYTHON_LIBDIR=${PYTHON_LIBDIR} \ + PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR} \ + PYTHON=${PYTHON_CMD} \ + LN="${LN}" SETENV="${SETENV}" MKDIR="${MKDIR}" + +DATETIME_DEP= ${PYTHON_SITELIBDIR}/mx/DateTime/__init__.py pre-build: ${CP} ${FILESDIR}/Makefile ${WRKSRC}/Makefile diff --git a/databases/py-PyGreSQL/distinfo b/databases/py-PyGreSQL/distinfo index f25e8f0efbb0..eea1cb60cbcc 100644 --- a/databases/py-PyGreSQL/distinfo +++ b/databases/py-PyGreSQL/distinfo @@ -1 +1 @@ -MD5 (PyGreSQL-3.0.tgz) = 3f67b76d6cfece4ac21eee1a9154a206 +MD5 (PyGreSQL-3.1.tgz) = 6c7cef080d3c3b732ff7090dc9e051c1 diff --git a/databases/py-PyGreSQL/files/Makefile b/databases/py-PyGreSQL/files/Makefile index b1aa7a29fc6c..3ebb172d0424 100644 --- a/databases/py-PyGreSQL/files/Makefile +++ b/databases/py-PyGreSQL/files/Makefile @@ -15,12 +15,12 @@ clean: _pgmodule.so: pgmodule.o ${LD} -Bshareable -lc_r -L${PYTHON_LIBDIR}/config \ - -l${PYTHON_VERSION} -L${PREFIX}/pgsql/lib -lpq \ + -l${PYTHON_VERSION} -L${PREFIX}/lib -lpq \ ${.ALLSRC} -o ${.TARGET} pgmodule.o: pgmodule.c ${CC} -c -I${PREFIX}/include/${PYTHON_VERSION} \ - -I${PREFIX}/pgsql/include ${.ALLSRC} + -I${PREFIX}/include/pgsql ${.ALLSRC} .py.pyc: ${SETENV} PYTHONPATH=${.CURDIR} ${PYTHON} -c 'import ${.IMPSRC:.py=}' |