From uspoerlein@gmail.com  Sun Mar 11 14:08:26 2007
Return-Path: <uspoerlein@gmail.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 0B87016A400
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 11 Mar 2007 14:08:26 +0000 (UTC)
	(envelope-from uspoerlein@gmail.com)
Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.169])
	by mx1.freebsd.org (Postfix) with ESMTP id 9813D13C44B
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 11 Mar 2007 14:08:25 +0000 (UTC)
	(envelope-from uspoerlein@gmail.com)
Received: by ug-out-1314.google.com with SMTP id 71so1807334ugh
        for <FreeBSD-gnats-submit@freebsd.org>; Sun, 11 Mar 2007 07:08:24 -0700 (PDT)
Received: by 10.66.216.20 with SMTP id o20mr14883935ugg.1173622104411;
        Sun, 11 Mar 2007 07:08:24 -0700 (PDT)
Received: from roadrunner.q.local ( [85.180.162.73])
        by mx.google.com with ESMTP id e9sm17859490muf.2007.03.11.07.08.23;
        Sun, 11 Mar 2007 07:08:23 -0700 (PDT)
Received: from roadrunner.q.local (localhost [127.0.0.1])
	by roadrunner.q.local (8.13.8/8.13.8) with ESMTP id l2BE8HYe006224;
	Sun, 11 Mar 2007 15:08:17 +0100 (CET)
	(envelope-from q@roadrunner.q.local)
Received: (from q@localhost)
	by roadrunner.q.local (8.13.8/8.13.8/Submit) id l2BE8GRd006223;
	Sun, 11 Mar 2007 15:08:16 +0100 (CET)
	(envelope-from q)
Message-Id: <200703111408.l2BE8GRd006223@roadrunner.q.local>
Date: Sun, 11 Mar 2007 15:08:16 +0100 (CET)
From: Ulrich Spoerlein <uspoerlein@gmail.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc: db@freebsd.org, ehaupt@freebsd.org
Subject: [PATCH] editors/xemacs: Unbreak Postgres support
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         110189
>Category:       ports
>Synopsis:       [PATCH] editors/xemacs: Unbreak Postgres support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    db
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 11 14:10:05 GMT 2007
>Closed-Date:    Sun Mar 11 14:41:48 GMT 2007
>Last-Modified:  Sun Mar 11 14:50:04 GMT 2007
>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:
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Sun Mar 11 14:41:46 UTC 2007 
State-Changed-Why:  
Committed. Thanks! 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/110189: commit references a PR
Date: Sun, 11 Mar 2007 14:41:37 +0000 (UTC)

 miwi        2007-03-11 14:41:28 UTC
 
   FreeBSD ports repository
 
   Modified files:
     editors/xemacs       Makefile 
   Log:
   - LIB_DEPENDS is missing a slash
   - DEFAULT_PGSQL_VER is only set if USE_PGSQL is defined
   
   PR:             110189
   Submitted by:   Ulrich Spoerlein <uspoerlein@gmail.com>
   Pointy hat to: db
   
   Revision  Changes    Path
   1.103     +2 -2      ports/editors/xemacs/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
