ports/130913: [MAINTAINER] net-im/pidgin-msn-pecan: Fix build for FreeBSD 6

Henrik Friedrichsen hrkfdn at gmail.com
Fri Jan 23 14:00:05 UTC 2009


>Number:         130913
>Category:       ports
>Synopsis:       [MAINTAINER] net-im/pidgin-msn-pecan: Fix build for FreeBSD 6
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 23 14:00:04 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Henrik Friedrichsen
>Release:        7.1
>Organization:
>Environment:
FreeBSD kiwi.icecap 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Sun Jan 18 13:24:58 CET 2009     root at kiwi.icecap:/usr/obj/usr/src/sys/PLUTONIUM  i386
>Description:
This patch should fix the broken build on FreeBSD 6.
Thanks to Dennis Herrmann and Joerg Starke.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -Naur ./Makefile ../pidgin-msn-pecan/Makefile
--- ./Makefile	2009-01-23 14:47:59.000000000 +0100
+++ ../pidgin-msn-pecan/Makefile	2009-01-23 14:48:28.000000000 +0100
@@ -22,13 +22,7 @@
 USE_LDCONFIG=	yes
 USE_GETTEXT=	yes
 
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 700000
-BROKEN=		does not compile on FreeBSD 6.X		
-.endif
-
 post-install:
 	${GMAKE} -C ${WRKSRC} install_locales
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff -Naur ./files/patch-Makefile ../pidgin-msn-pecan/files/patch-Makefile
--- ./files/patch-Makefile	2009-01-23 14:47:59.000000000 +0100
+++ ../pidgin-msn-pecan/files/patch-Makefile	2009-01-23 14:48:09.000000000 +0100
@@ -15,7 +15,7 @@
  FALLBACK_CFLAGS := -I./fix_purple
  
 -LDFLAGS := -Wl,--no-undefined
-+LDFLAGS := -Wl,--no-undefined,-lintl
++LDFLAGS := -Wl,--no-undefined,-lintl,-lc
  
  prefix := $(DESTDIR)/$(PURPLE_PREFIX)
  plugin_dir := $(prefix)/lib/purple-2


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



More information about the freebsd-ports-bugs mailing list