Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Jul 2006 16:26:44 +0330
From:      "Babak Farrokhi" <babak@farrokhi.net>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/101021: [Maintainer Update] port www/textpattern - remove pgsql and sqlite from Makefile
Message-ID:  <1154177804.92420@starfish.datak.net>
Resent-Message-ID: <200607291300.k6TD0R54096545@freefall.freebsd.org>

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

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



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