ports/61835: [MAINTAINER] databases/postgresql: allow use of latest gettext

Palle Girgensohn girgen at pingpong.net
Sat Jan 24 14:10:10 UTC 2004


>Number:         61835
>Category:       ports
>Synopsis:       [MAINTAINER] databases/postgresql: allow use of latest gettext
>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 Jan 24 06:10:05 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Palle Girgensohn
>Release:        FreeBSD 4.9-RELEASE i386
>Organization:
Ping Pong AB
>Environment:
System: FreeBSD palle.girgensohn.se 4.9-RELEASE FreeBSD 4.9-RELEASE #6: Tue Nov  4 22:56:29 CET
>Description:
There's apparently a new gettext in town. I've tried postgresql
together with it, and there's no reason to limit usage to the
gettext-old port.

Also, as requested by Phil Pennock <pdp at nl.demon.net>, most other
ports use WITHOUT_NLS instead of WITHOUT_GETTEXT, so use it here as
well (allow both for a while).

Generated with FreeBSD Port Tools 0.50
>How-To-Repeat:
>Fix:

--- postgresql-7.4.1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/databases/postgresql7/Makefile,v
retrieving revision 1.121
diff -u -u -r1.121 Makefile
--- Makefile	23 Jan 2004 18:11:46 -0000	1.121
+++ Makefile	24 Jan 2004 13:54:47 -0000
@@ -45,9 +45,9 @@
 USE_GETOPT_LONG=yes
 .endif
 
-.if !defined(WITHOUT_GETTEXT)
+.if !(defined(WITHOUT_GETTEXT) || defined(WITHOUT_NLS))
 CONFIGURE_ARGS+=--enable-nls
-LIB_DEPENDS+=	intl.5:${PORTSDIR}/devel/gettext-old
+LIB_DEPENDS+=	intl:${PORTSDIR}/devel/gettext
 PLIST_SUB+=	GETTEXT=""
 .else
 CONFIGURE_ARGS+=--disable-nls
@@ -149,7 +149,7 @@
 	@${ECHO} ""
 	@${ECHO} "	WITHOUT_GNUGETOPT	Don't install GNU getopt (will"
 	@${ECHO} "				still be used if already installed)"
-	@${ECHO} "	WITHOUT_GETTEXT		Skips building with support for"
+	@${ECHO} "	WITHOUT_NLS		Skips building with support for"
 	@${ECHO} "				internationalized error messages"
 	@${ECHO} "	WITHOUT_SERVER		Don't install the server,"
 	@${ECHO} "				only install binaries, headers and libs"
--- postgresql-7.4.1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list