Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jan 2007 21:57:33 +0900 (YAKT)
From:      Alexander Logvinov <ports@logvinov.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Alexander Logvinov <ports@logvinov.com>
Subject:   ports/108035: [maintainer update] comms/atslog: fix dependencies
Message-ID:  <200701171257.l0HCvXcZ049731@blg.akavia.ru>
Resent-Message-ID: <200701171300.l0HD0a4H098428@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701171257.l0HCvXcZ049731>