ports/108034: [patch] Add WITHOUT_PHP_DEPENDS option to databases/phpmyadmin
Henrik Brix Andersen
henrik at brixandersen.dk
Wed Jan 17 12:50:21 UTC 2007
>Number: 108034
>Category: ports
>Synopsis: [patch] Add WITHOUT_PHP_DEPENDS option to databases/phpmyadmin
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Jan 17 12:50:20 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Henrik Brix Andersen
>Release: FreeBSD 6.2-STABLE i386
>Organization:
pil.dk
>Environment:
System: FreeBSD fangorn.brixandersen.dk 6.2-STABLE FreeBSD 6.2-STABLE #39: Mon Jan 15 19:15:54 CET 2007 root at fangorn.brixandersen.dk:/usr/obj/usr/src/sys/FANGORN i386
>Description:
When mass-upgrading phpMyAdmin across multiple servers it would be
nice to be able to build a package without dependencies on a specific
version and configuration of PHP.
>How-To-Repeat:
>Fix:
The following patch adds a new WITHOUT_PHP_DEPENDS option similar to
what is found in databases/phppgadmin - allowing people to build
packages with no PHP dependencies.
--- phpmyadmin.diff begins here ---
--- phpmyadmin/Makefile.orig Wed Jan 17 11:57:11 2007
+++ phpmyadmin/Makefile Wed Jan 17 11:55:12 2007
@@ -17,7 +17,9 @@ COMMENT= A set of PHP-scripts to manage
USE_BZIP2= yes
NO_BUILD= yes
+.if !defined(WITHOUT_PHP_DEPENDS)
USE_PHP= mysql pcre session
+.endif
SUB_LIST+= "MYADMDIR=${MYADMDIR}" \
"PKGNAME=${PKGNAME}"
@@ -64,6 +66,7 @@ OPTIONSFILE?= ${PORT_DBDIR}/${LATEST_LIN
.include "${OPTIONSFILE}"
.endif
+.if !defined(WITHOUT_PHP_DEPENDS)
# Options that default to on:
.for opt in BZ2 GD OPENSSL PDF ZLIB MCRYPT MBSTRING
. if !defined(WITHOUT_${opt}) || defined(WITH_${opt})
@@ -77,6 +80,7 @@ USE_PHP+= ${opt:L}
USE_PHP+= ${opt:L}
. endif
.endfor
+.endif
# MYADMUSR is only used WITH_SUPHP
MYADMDIR?= www/phpMyAdmin
--- phpmyadmin.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list