diff options
author | vanilla <vanilla@FreeBSD.org> | 2001-04-21 11:43:12 +0000 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2001-04-21 11:43:12 +0000 |
commit | f0a2f2797f4d3272e245e7751bde364a15634c65 (patch) | |
tree | 172d9b14a805ee232c5d60d2e8797ff7a8f45e81 /databases/py-PyGreSQL | |
parent | 4f94b9c8c7df606bab11c747db7be3620e297d1c (diff) | |
download | FreeBSD-ports-f0a2f2797f4d3272e245e7751bde364a15634c65.zip FreeBSD-ports-f0a2f2797f4d3272e245e7751bde364a15634c65.tar.gz |
Fix include directory for postgresql7.1's new layout.
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 323994c..41c093d 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 f25e8f0..eea1cb6 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 b1aa7a2..3ebb172 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=}' |