ports/137827: Update port: sysutils/gai-leds Fix build

Douglas William Thrift douglas at douglasthrift.net
Sun Aug 16 08:00:16 UTC 2009


>Number:         137827
>Category:       ports
>Synopsis:       Update port: sysutils/gai-leds Fix build
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 16 08:00:16 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Douglas William Thrift
>Release:        FreeBSD 7.2-RELEASE-p3 amd64
>Organization:
>Environment:
System: FreeBSD justonenight.douglasthrift.net 7.2-RELEASE-p3 FreeBSD 7.2-RELEASE-p3 #13: Fri Jul 31 03:59:43 PDT 2009 root at justonenight.douglasthrift.net:/usr/obj/usr/src/sys/FURTHERONUPTHEROAD amd64
>Description:
The build for sysutils/gai-leds was broken because it had unresolved references to functions from libgnomeui.
>How-To-Repeat:
>Fix:
--- gai-leds.patch begins here ---
diff -Nrux .svn -x work /usr/ports/sysutils/gai-leds/Makefile gai-leds/Makefile
--- /usr/ports/sysutils/gai-leds/Makefile	2009-07-31 06:55:50.000000000 -0700
+++ gai-leds/Makefile	2009-08-16 00:05:44.542820968 -0700
@@ -21,8 +21,6 @@
 USE_BZIP2=	yes
 USE_GNOME=	gnomehack gnomeprefix
 
-BROKEN=		does not compile
-
 post-patch:
 	@${REINPLACE_CMD} -e \
 		's|\(GNOMEDIR=\).*|\1"${PREFIX}"|; \
diff -Nrux .svn -x work /usr/ports/sysutils/gai-leds/files/patch-configure gai-leds/files/patch-configure
--- /usr/ports/sysutils/gai-leds/files/patch-configure	1969-12-31 16:00:00.000000000 -0800
+++ gai-leds/files/patch-configure	2009-08-15 23:53:16.743236712 -0700
@@ -0,0 +1,11 @@
+--- configure.orig	2009-08-15 23:51:35.743360830 -0700
++++ configure	2009-08-15 23:52:35.252754436 -0700
+@@ -2225,7 +2225,7 @@
+ 	echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ 	GAI_CFLAGS=`pkg-config --cflags gai`
+-	GAI_LIBS=`pkg-config --libs gai`
++	GAI_LIBS=`pkg-config --libs gai libgnomeui-2.0`
+     else
+         echo "$as_me:$LINENO: result: not found
+ You can download GAI from http://gai.sf.net
--- gai-leds.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list