aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-07-12 13:59:22 +0800
committermarcus <marcus@FreeBSD.org>2003-07-12 13:59:22 +0800
commitc451f525ad55395d58945860ac1fa4fa1403f466 (patch)
treed35a478f6ac6149a7b41d5a78fb9e0bf1b95e3b5 /x11
parent58c294824aa68e24d67325cc82552e717e095317 (diff)
downloadfreebsd-ports-gnome-c451f525ad55395d58945860ac1fa4fa1403f466.tar.gz
freebsd-ports-gnome-c451f525ad55395d58945860ac1fa4fa1403f466.tar.zst
freebsd-ports-gnome-c451f525ad55395d58945860ac1fa4fa1403f466.zip
Fix libcapplet to use USE_GETOPT_LONG.
PR: 54264 Submitted by: nork
Diffstat (limited to 'x11')
-rw-r--r--x11/libcapplet/Makefile3
-rw-r--r--x11/libcapplet/files/patch-Makefile11
2 files changed, 13 insertions, 1 deletions
diff --git a/x11/libcapplet/Makefile b/x11/libcapplet/Makefile
index 39ad635bcbd7..b0beec4a7045 100644
--- a/x11/libcapplet/Makefile
+++ b/x11/libcapplet/Makefile
@@ -18,7 +18,8 @@ USE_BZIP2= yes
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 --git a/x11/libcapplet/files/patch-Makefile b/x11/libcapplet/files/patch-Makefile
new file mode 100644
index 000000000000..044219181c81
--- /dev/null
+++ b/x11/libcapplet/files/patch-Makefile
@@ -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 \