ports/101021: [Maintainer Update] port www/textpattern - remove pgsql and sqlite from Makefile
Babak Farrokhi
babak at farrokhi.net
Sat Jul 29 13:00:28 UTC 2006
>Number: 101021
>Category: ports
>Synopsis: [Maintainer Update] port www/textpattern - remove pgsql and sqlite from Makefile
>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: Sat Jul 29 13:00:27 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Babak Farrokhi
>Release: FreeBSD 6.1-STABLE i386
>Organization:
>Environment:
System: FreeBSD 6.1-STABLE #0: Mon Jul 24 11:42:49 IRST 2006
root at starfish.datak.net:/usr/obj/usr/src/sys/STARFISH
>Description:
- remove support for postgresql and sqlite support from Makefile as they are not supported in current release
>How-To-Repeat:
>Fix:
--- textpattern.patch begins here ---
diff -ruN textpattern.orig/Makefile textpattern/Makefile
--- textpattern.orig/Makefile Sat Jul 29 16:21:27 2006
+++ textpattern/Makefile Sat Jul 29 16:24:06 2006
@@ -20,35 +20,7 @@
WWWGRP?= www
TEXTPATTERN?= www/${PORTNAME}
PLIST_SUB+= TEXTPATTERN=${TEXTPATTERN}
-USE_PHP= mbstring xml
-
-OPTIONS= MYSQL "Use MySQL backend" on \
- PGSQL "Use PostgreSQL backend" off
-
-.if defined(PHP_VER) && ${PHP_VER} == 5
-OPTIONS+= SQLITE "Use SQLite backend" off
-.endif
-
-PORT_DBDIR?= /var/db/ports
-LATEST_LINK= ${PORTNAME}${PKGNAMESUFFIX}
-OPTIONSFILE?= ${PORT_DBDIR}/${LATEST_LINK}/options
-
-.if exists(${OPTIONSFILE})
-.include "${OPTIONSFILE}"
-.endif
-
-# Options that default to on:
-.if !defined(WITHOUT_MYSQL) || defined(WITH_MYSQL)
-USE_PHP+= mysql
-.endif
-
-.if defined(WITH_PGSQL)
-USE_PHP+= pgsql
-.endif
-
-.if defined(WITH_SQLITE)
-USE_PHP+= sqlite
-.endif
+USE_PHP= mbstring xml mysql
do-install:
-${MKDIR} ${PREFIX}/${TEXTPATTERN}
--- textpattern.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list