From scjamorim@bsd.com.br  Wed Jul 29 00:30:13 2009
Return-Path: <scjamorim@bsd.com.br>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 10C20106567A
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 29 Jul 2009 00:30:13 +0000 (UTC)
	(envelope-from scjamorim@bsd.com.br)
Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.251])
	by mx1.freebsd.org (Postfix) with ESMTP id C45E28FC1A
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 29 Jul 2009 00:30:12 +0000 (UTC)
	(envelope-from scjamorim@bsd.com.br)
Received: by an-out-0708.google.com with SMTP id d14so206643and.13
        for <FreeBSD-gnats-submit@freebsd.org>; Tue, 28 Jul 2009 17:30:11 -0700 (PDT)
Received: by 10.100.209.5 with SMTP id h5mr10884754ang.124.1248827411197;
        Tue, 28 Jul 2009 17:30:11 -0700 (PDT)
Received: from fbsd72-amd64.scjamorim.org (187-24-196-31.3g.claro.net.br [187.24.196.31])
        by mx.google.com with ESMTPS id d35sm1996515and.15.2009.07.28.17.30.03
        (version=TLSv1/SSLv3 cipher=RC4-MD5);
        Tue, 28 Jul 2009 17:30:07 -0700 (PDT)
Received: from fbsd72-amd64.scjamorim.org (localhost [127.0.0.1])
	by fbsd72-amd64.scjamorim.org (Postfix) with ESMTP id CF1A912B1FF;
	Wed, 29 Jul 2009 00:12:30 -0300 (BRT)
Received: (from root@localhost)
	by fbsd72-amd64.scjamorim.org (8.14.3/8.14.3/Submit) id n6T3CTgg008353;
	Wed, 29 Jul 2009 00:12:29 -0300 (BRT)
	(envelope-from root)
Message-Id: <200907290312.n6T3CTgg008353@fbsd72-amd64.scjamorim.org>
Date: Wed, 29 Jul 2009 00:12:29 -0300 (BRT)
From: Sylvio Cesar <scjamorim@bsd.com.br>
To: FreeBSD-gnats-submit@freebsd.org
Cc: scjamorim@bsd.com.br
Subject: [PATCH] net-im/amsn: Problem with other PREFIX fixed
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         137229
>Category:       ports
>Synopsis:       [PATCH] net-im/amsn: Problem with other PREFIX fixed
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    araujo
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 29 00:40:04 UTC 2009
>Closed-Date:    Mon Aug 03 21:00:32 UTC 2009
>Last-Modified:  Mon Aug 03 21:00:32 UTC 2009
>Originator:     Sylvio Cesar
>Release:        FreeBSD 7.2-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD fbsd72-amd64.scjamorim.org 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May  1 07:18:07 UTC
>Description:
- Problem with other PREFIX fixed.

Port maintainer (scjamorim@bsd.com.br) is cc'd.

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

--- amsn-0.97.2_3.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/net-im/amsn/Makefile,v
retrieving revision 1.39
diff -u -r1.39 Makefile
--- Makefile	8 Jul 2009 19:50:31 -0000	1.39
+++ Makefile	29 Jul 2009 00:14:03 -0000
@@ -22,14 +22,26 @@
 		${LOCALBASE}/lib/tls/tls.tcl:${PORTSDIR}/devel/tcltls \
 		dtplite:${PORTSDIR}/devel/tcllib
 
-GNU_CONFIGURE=	yes
 USE_BZIP2=	yes
 USE_GMAKE=	yes
+USE_LDCONFIG=	yes
 
+GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--with-tcl=${LOCALBASE}/lib/tcl8.4 \
 		--with-tk=${LOCALBASE}/lib/tk8.4
 
-CONFIGURE_ENV=	TK_INC_SPEC=${LOCALBASE}/include/tk8.4/generic
+CONFIGURE_ENV+=	CPPFLAGS="-I${LOCALBASE}/include" \
+		LDFLAGS="-L${LOCALBASE}/lib" \
+		TK_INC_SPEC=${LOCALBASE}/include/tk8.4/generic
+
+.if defined(WITHOUT_NLS)
+CONFIGURE_ARGS+=	--disable-nls
+PLIST_SUB+=	NLS="@comment "
+.else
+USE_GETTEXT=	yes
+CONFIGURE_ARGS+=	--enable-nls
+PLIST_SUB+=	NLS=""
+.endif
 
 post-patch:
 	@${FIND} ${WRKSRC} -name '*.c' -or -name '*.h' | ${XARGS} ${REINPLACE_CMD} -e 's|
||'
--- amsn-0.97.2_3.patch ends here ---

>Release-Note:
>Audit-Trail:
Class-Changed-From-To: change-request->maintainer-update 
Class-Changed-By: edwin 
Class-Changed-When: Wed Jul 29 00:40:17 UTC 2009 
Class-Changed-Why:  
Fix category (submitter is maintainer) (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=137229 
Responsible-Changed-From-To: freebsd-ports-bugs->araujo 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Wed Jul 29 00:40:22 UTC 2009 
Responsible-Changed-Why:  
araujo@ wants his PRs (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=137229 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/137229: commit references a PR
Date: Mon,  3 Aug 2009 20:36:10 +0000 (UTC)

 araujo      2009-08-03 20:35:54 UTC
 
   FreeBSD ports repository
 
   Modified files:
     net-im/amsn          Makefile 
   Log:
   - Fix the issue when you set a custom PREFIX or LOCALBASE.
   
   PR:             ports/137229
   Submitted by:   Sylvio Cesar <scjamorim@bsd.com.br> (maintainer)
   
   Revision  Changes    Path
   1.40      +14 -2     ports/net-im/amsn/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"
 
State-Changed-From-To: open->closed 
State-Changed-By: araujo 
State-Changed-When: Mon Aug 3 21:00:30 UTC 2009 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=137229 
>Unformatted:
