Skip site navigation (1)Skip section navigation (2)
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:   ports/137229: [PATCH] net-im/amsn: Problem with other PREFIX fixed
Message-ID:  <200907290312.n6T3CTgg008353@fbsd72-amd64.scjamorim.org>
Resent-Message-ID: <200907290040.n6T0e4NB093901@freefall.freebsd.org>

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

>Number:         137229
>Category:       ports
>Synopsis:       [PATCH] net-im/amsn: Problem with other PREFIX fixed
>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:   Wed Jul 29 00:40:04 UTC 2009
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



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