aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2007-01-18 04:44:09 +0800
committermiwi <miwi@FreeBSD.org>2007-01-18 04:44:09 +0800
commitd2e254b3a3ef0eb93c172842a19dffef049b4a0e (patch)
tree525b8ac907bcbb7c8f68a794ca2960046b5c376b
parent25d2353386b3c0176f676ae98efa7bd076463eee (diff)
downloadfreebsd-ports-gnome-d2e254b3a3ef0eb93c172842a19dffef049b4a0e.tar.gz
freebsd-ports-gnome-d2e254b3a3ef0eb93c172842a19dffef049b4a0e.tar.zst
freebsd-ports-gnome-d2e254b3a3ef0eb93c172842a19dffef049b4a0e.zip
- Fix php-mysql and php-pgsql dependencies
PR: ports/108035 Submitted by: Alexander Logvinov <ports@logvinov.com> (maintainer)
-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: