Date: Sun, 18 Dec 2005 18:36:53 -0600 (CST) From: Babak Farrokhi <babak@farrokhi.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/90621: update port www/serendipity Message-ID: <20051219003653.E1F5A56454@royalway.propagation.net> Resent-Message-ID: <200512190040.jBJ0e3Bd073182@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 90621 >Category: ports >Synopsis: update port www/serendipity >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: Mon Dec 19 00:40:02 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Babak Farrokhi >Release: FreeBSD 5.4-STABLE i386 >Organization: >Environment: System: FreeBSD royalway.propagation.net 5.4-STABLE FreeBSD 5.4-STABLE #6: Thu Jun 30 05:11:17 CDT 2005 root@royalway.propagation.net:/usr/obj/usr/src/sys/GENERIC i386 >Description: - Don't propose sqlite backend if PHP_VER != 5 >How-To-Repeat: >Fix: --- serendipity.patch begins here --- diff -ruN serendipity.orig/Makefile serendipity/Makefile --- serendipity.orig/Makefile Mon Dec 19 03:54:10 2005 +++ serendipity/Makefile Mon Dec 19 03:57:46 2005 @@ -22,10 +22,20 @@ SUB_LIST+= SERENDIPITY=${SERENDIPITY} SUB_FILES= pkg-message +LOCALBASE?= /usr/local + OPTIONS= MYSQL "Use MySQL backend" on \ - PGSQL "Use PostgreSQL backend" off \ - SQLITE "Use SQLite backend (PHP5)" off \ - MAGICK "Use ImageMagick Library" on + PGSQL "Use PostgreSQL backend" off + +.if exists(${LOCALBASE}/etc/php.conf) +.include "${LOCALBASE}/etc/php.conf" +.endif + +.if defined(PHP_VER) && ${PHP_VER} == 5 +OPTIONS+= SQLITE "Use SQLite backend" off +.endif + +OPTIONS+= MAGICK "Use ImageMagick Library" on PORT_DBDIR?= /var/db/ports LATEST_LINK= ${PORTNAME}${PKGNAMESUFFIX} --- serendipity.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051219003653.E1F5A56454>