ports/54264: x11/libcapplet link error by libgnugetopt requested

Norikatsu Shigemura nork at FreeBSD.org
Wed Jul 9 14:30:15 UTC 2003


>Number:         54264
>Category:       ports
>Synopsis:       x11/libcapplet link error by libgnugetopt requested.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 09 07:30:12 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Norikatsu Shigemura
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
Ensure Technology Ltd. (http://www.ensure-tech.co.jp)
>Environment:
System: FreeBSD nadesico.ninth-nine.com 5.1-CURRENT FreeBSD 5.1-CURRENT #16: Tue Jul 1 01:42:04 JST 2003 nork at nadesico.ninth-nine.com:/usr/obj/usr/src/sys/NADESICO i386
>Description:
	x11/libcapplet required libgnugetopt (with hard coded).  But
	it didn't require gnugetopt.
>How-To-Repeat:
	remove gnugetopt port & make.
>Fix:
--- diff begins here ---
diff -urN libcapplet.old/Makefile libcapplet/Makefile
--- libcapplet.old/Makefile	Tue Apr 22 01:14:21 2003
+++ libcapplet/Makefile	Wed Jul  9 23:15:03 2003
@@ -18,7 +18,8 @@
 USE_X_PREFIX=	yes
 USE_GNOME=	gnomelibs
 INSTALLS_SHLIB=	yes
-MAKE_ENV=	X11BASE="${X11BASE}" LOCALBASE="${LOCALBASE}"
+USE_GETOPT_LONG=yes
+MAKE_ENV=	X11BASE="${X11BASE}" LOCALBASE="${LOCALBASE}" LDFLAGS="${LDFLAGS}"
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/libcapplet.so.5 ${PREFIX}/lib
diff -urN libcapplet.old/files/patch-Makefile libcapplet/files/patch-Makefile
--- libcapplet.old/files/patch-Makefile	Thu Jan  1 09:00:00 1970
+++ libcapplet/files/patch-Makefile	Wed Jul  9 23:15:33 2003
@@ -0,0 +1,11 @@
+--- Makefile.orig	Wed Jul 10 21:32:05 2002
++++ Makefile	Wed Jul  9 23:15:23 2003
+@@ -14,7 +14,7 @@
+ 	-lORBitutil -lglib12 -lwrap -lm -lgnorba -lXpm -ljpeg -lgnomeui \
+ 	-lart_lgpl -lgdk_imlib -ltiff -lungif -lpng -lz -lSM -lICE -lgtk12 \
+ 	-lgdk12 -lgmodule12 -lXext -lX11 -lgnome -lgnomesupport -lintl \
+-	-lesd -lgnugetopt -laudiofile 
++	-lesd ${LDFLAGS} -laudiofile 
+ 
+ CLEANFILES+=control-center-common.c control-center-skels.c \
+ 	    control-center-stubs.c control-center.h cappletConf.sh \
--- diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list