Add dependency on libpq.3 and POSTGRESQL_PORT tunable. Grab

maintainership of ports while I'm here.
This commit is contained in:
Sean Chittenden 2003-01-18 22:38:32 +00:00
parent ef5bbfd2b8
commit 7710a67287
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=73439
2 changed files with 8 additions and 4 deletions

View file

@ -8,12 +8,13 @@
PORTNAME= libdbi
PORTVERSION= 0.6.7
PORTREVISION= 1
CATEGORIES= databases devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
http://linux.ucla.edu/~dap24/%SUBDIR%/
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
MAINTAINER= seanc@FreeBSD.org
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
@ -29,7 +30,8 @@ PLIST_SUB+= MYSQL="@comment "
.endif
.if defined(WITH_PGSQL)
LIB_DEPENDS+= pq:${PORTSDIR}/databases/postgresql7
POSTGRESQL_PORT?= databases/postgresql7
LIB_DEPENDS+= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
CONFIGURE_ARGS+= --with-pgsql
PLIST_SUB+= PGSQL=""
.else

View file

@ -6,14 +6,15 @@
PORTNAME= mod_auth_pgsql
PORTVERSION= 0.9.12
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://www.giuseppetanzilli.it/mod_auth_pgsql/dist/
MAINTAINER= ports@freebsd.org
MAINTAINER= seanc@FreeBSD.org
BUILD_DEPENDS= ${APXS}:${APACHE_PORT}
RUN_DEPENDS= ${LOCALBASE}/sbin/${AP_TARGET}:${APACHE_PORT}
LIB_DEPENDS= pq.3:${PORTSDIR}/databases/postgresql7
LIB_DEPENDS= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:S/a//}
@ -22,6 +23,7 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:S/a//}
APXS?= ${LOCALBASE}/sbin/apxs
AP_PORT?= apache13
APACHE_PORT?= ${PORTSDIR}/www/${AP_PORT}
POSTGRESQL_PORT?= databases/postgresql7
.if exists(${APXS})
APXS_WORKS!= ${APXS} -q TARGET 2>/dev/null || echo no