Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jan 2009 13:53:10 GMT
From:      Henrik Friedrichsen <hrkfdn@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/130913: [MAINTAINER] net-im/pidgin-msn-pecan: Fix build for FreeBSD 6
Message-ID:  <200901231353.n0NDrAiP053162@www.freebsd.org>
Resent-Message-ID: <200901231400.n0NE04jY019080@freefall.freebsd.org>

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

>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@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:



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