ports/110189: [PATCH] editors/xemacs: Unbreak Postgres support

Ulrich Spoerlein uspoerlein at gmail.com
Sun Mar 11 14:10:06 UTC 2007


>Number:         110189
>Category:       ports
>Synopsis:       [PATCH] editors/xemacs: Unbreak Postgres support
>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:   Sun Mar 11 14:10:05 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Ulrich Spoerlein
>Release:        FreeBSD 6.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD roadrunner.q.local 6.2-STABLE FreeBSD 6.2-STABLE #1: Sat Feb 17 13:34:49 CET 2007
>Description:
- LIB_DEPENDS is missing a slash
- DEFAULT_PGSQL_VER is only set if USE_PGSQL is defined
=> Fix all by defining USE_PGSQL

Pointy hat to: db

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
/usr/ports/editors/xemacs% make __MAKE_CONF=/dev/null describe -DWITH_POSTGRES -VLIB_DEPENDS
pq:/usr/portsdatabases/postgresql-client png.5:/usr/ports/graphics/png  jpeg.9:/usr/ports/graphics/jpeg  tiff.4:/usr/ports/graphics/tiff Xm.3:/usr/ports/x11-toolkits/open-motif  X11.6:/usr/ports/x11/xorg-libraries
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This is non-existant, subsequently 'make index' will fail if WITH_POSTGRES is set.

>Fix:

--- xemacs-21.4.20_2.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/editors/xemacs/Makefile,v
retrieving revision 1.102
diff -u -p -u -r1.102 Makefile
--- Makefile	27 Feb 2007 18:44:10 -0000	1.102
+++ Makefile	11 Mar 2007 14:05:09 -0000
@@ -65,8 +65,8 @@ CONFIGURE_ARGS+=	--with-ldap=no
 .endif
 
 .if defined(WITH_POSTGRES)
+USE_PGSQL=	yes
 CONFIGURE_ARGS+=	--with-postgresql
-LIB_DEPENDS+=	pq:${PORTSDIR}databases/postgresql${DEFAULT_PGSQL_VER}-client
 .else
 CONFIGURE_ARGS+=	--without-postgresql
 .endif
--- xemacs-21.4.20_2.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list