ports/108040: [PATCH] net-im/libgaim: fix for silc support

Sean Farley sean-freebsd at farley.org
Wed Jan 17 15:20:16 UTC 2007


>Number:         108040
>Category:       ports
>Synopsis:       [PATCH] net-im/libgaim: fix for silc 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:   Wed Jan 17 15:20:16 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Sean Farley
>Release:        FreeBSD 6.2-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD thor.farley.org 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #0: Thu Dec 28 14:01:21 CST 2006
>Description:
- Fixed sed script to match the current configure script.
- Registered iconv dependency for silc.  Is it needed at other times?
- Added --with-silc-libs to CONFIGURE_ARGS.

I am sorry I did not find this before the earlier PR (ports/108027).

Port maintainer (marcus at FreeBSD.org) is cc'd.

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

--- libgaim-2.0.0.b5_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/net-im/libgaim.orig/Makefile /usr/ports/net-im/libgaim/Makefile
--- /usr/ports/net-im/libgaim.orig/Makefile	Tue Jan 16 23:35:08 2007
+++ /usr/ports/net-im/libgaim/Makefile	Wed Jan 17 09:11:28 2007
@@ -128,8 +128,10 @@
 .endif
 
 .if defined(WITH_SILC)
+USE_ICONV=		yes
 LIB_DEPENDS+=		silcclient-1.0.3:${PORTSDIR}/devel/silc-toolkit
-CONFIGURE_ARGS+=	--with-silc-includes=${LOCALBASE}/include/silc
+CONFIGURE_ARGS+=	--with-silc-includes=${LOCALBASE}/include/silc \
+			--with-silc-libs=${LOCALBASE}/lib
 PLIST_SUB+=		SILC=""
 PRPL_MODULES:=		${PRPL_MODULES},silc
 .else
@@ -218,7 +220,7 @@
 		-e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
 		-e 's|-lpanel |-lpanel -lncurses|g' \
 		-e 's|-lpthread|${PTHREAD_LIBS:S/"//g}|g' \
-		-e 's|-lsilc -lsilcclient ${PTHREAD_LIBS} -ldl|-lsilc -lsilcclient ${PTHREAD_LIBS} -liconv|' \
+		-e 's|-lsilc -lsilcclient ${PTHREAD_LIBS} $$LIBDL|-lsilc -lsilcclient ${PTHREAD_LIBS} -liconv|' \
 		-e 's|TCL_VERSION found but 8.3 required|TCL_VERSION found but ${TCLTK_VER} required|g' \
 		-e 's|TCL_MINOR_VERSION" -ne 3|TCL_MINOR_VERSION" -ne ${TCLTK_VER:E}|' \
 			${WRKSRC}/configure
--- libgaim-2.0.0.b5_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list