aboutsummaryrefslogtreecommitdiff
path: root/comms/atslog
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-01-17 20:44:09 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-01-17 20:44:09 +0000
commitc062bf36a6f5a5f7c7b779cbaa49415430bced26 (patch)
treeb456707eaed5b93144682df300d0fa46a3718f15 /comms/atslog
parent444ef8e890cd39926120ef718028a7c5124a7d15 (diff)
downloadports-c062bf36a6f5a5f7c7b779cbaa49415430bced26.tar.gz
ports-c062bf36a6f5a5f7c7b779cbaa49415430bced26.zip
Notes
Diffstat (limited to 'comms/atslog')
-rw-r--r--comms/atslog/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/comms/atslog/Makefile b/comms/atslog/Makefile
index a9fbb6241454..65b8dd82c39f 100644
--- a/comms/atslog/Makefile
+++ b/comms/atslog/Makefile
@@ -7,6 +7,7 @@
PORTNAME= atslog
PORTVERSION= 2.0.0
+PORTREVISION= 1
CATEGORIES= comms
MASTER_SITES= BERLIOS
@@ -42,6 +43,12 @@ PLIST_SUB+= WWW=""
.if !defined(WITHOUT_WWWGD)
USE_PHP+= gd
.endif
+.if !defined(WITHOUT_MYSQL)
+USE_PHP+= mysql
+.endif
+.if defined(WITH_PGSQL)
+USE_PHP+= pgsql
+.endif
.include "${PORTSDIR}/Mk/bsd.php.mk"
.else
PLIST_SUB+= WWW="@comment "
@@ -51,18 +58,12 @@ PLIST_SUB+= WWW="@comment "
USE_MYSQL= yes
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql
-.if !defined(WITHOUT_WWW)
-USE_PHP+= mysql
-.endif
.endif
.if defined(WITH_PGSQL)
USE_PGSQL= yes
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-Pg
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-Pg
-.if !defined(WITHOUT_WWW)
-USE_PHP+= pgsql
-.endif
.endif
post-patch: