ports/158795: [PATCH] Update: www/glpi fix depends and options
Gvozdikov Veniamin
g.veniamin at googlemail.com
Mon Jul 11 07:50:09 UTC 2011
>Number: 158795
>Category: ports
>Synopsis: [PATCH] Update: www/glpi fix depends and options
>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: Mon Jul 11 07:50:08 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Gvozdikov Veniamin
>Release: FreeBSD 8.2-RELEASE
>Organization:
>Environment:
FreeBSD y.local 8.2-RELEASE FreeBSD 8.2-RELEASE #0 r219081M: Wed Mar 2 08:29:52 CET 2011 root at www4:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
Added depends: mbstring and options to ldap, imap support.
>How-To-Repeat:
>Fix:
diff -up glpi.orig/Makefile glpi/Makefile
--- glpi.orig/Makefile 2011-07-11 15:27:56.228204384 +0000
+++ glpi/Makefile 2011-07-11 15:37:08.748681148 +0000
@@ -7,6 +7,7 @@
PORTNAME= glpi
DISTVERSION= 0.78.1
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://glpi-project.org/IMG/gz/ \
http://download.gna.org/kanicule/freebsd/distfiles/
@@ -14,7 +15,7 @@ MASTER_SITES= http://glpi-project.org/IM
MAINTAINER= mathias at monnerville.com
COMMENT= Free IT and asset management software
-USE_PHP= mysql pcre session xml json
+USE_PHP= mysql mbstring pcre session xml json
WANT_PHP_WEB= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
@@ -24,8 +25,19 @@ CPIOARGS= --quiet -pdum -R
GLPIDIR?= www/${PORTNAME}
+OPTIONS= LDAP "With LDAP support" off \
+ IMAP "With imap support" off
+
.include <bsd.port.pre.mk>
+.if defined(WITH_LDAP)
+USE_PHP+= ldap
+.endif
+
+.if defined(WITH_IMAP)
+USE_PHP+= imap
+.endif
+
post-extract:
@${FIND} ${WRKSRC} -name '*~' -delete
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list