ports/108035: [maintainer update] comms/atslog: fix dependencies
Alexander Logvinov
ports at logvinov.com
Wed Jan 17 13:00:37 UTC 2007
>Number: 108035
>Category: ports
>Synopsis: [maintainer update] comms/atslog: fix dependencies
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Wed Jan 17 13:00:35 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Alexander Logvinov
>Release: FreeBSD 6.2-RELEASE i386
>Organization:
>Environment:
>Description:
Fix php-mysql and php-pgsql dependencies
>How-To-Repeat:
>Fix:
diff -ur /usr/ports/comms/atslog/Makefile /home/user/projects/atslog/Makefile
--- /usr/ports/comms/atslog/Makefile Wed Jan 17 08:36:47 2007
+++ /home/user/projects/atslog/Makefile Wed Jan 17 21:47:21 2007
@@ -42,6 +42,12 @@
.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 +57,12 @@
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:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list