freebsd-ports/x11/libcapplet/files/patch-Makefile
Martin Wilke 3e4ed01146 - Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
2008-04-19 17:56:05 +00:00

24 lines
1.3 KiB
Text

--- Makefile.orig 2002-07-10 14:32:05.000000000 +0200
+++ Makefile 2008-04-12 14:10:37.000000000 +0200
@@ -7,14 +7,14 @@
SRCS= capplet-widget-libs.c capplet-widget.c capplet-widget-libs.h \
capplet-widget.h control-center-common.c control-center-skels.c \
control-center-stubs.c control-center.h
-CFLAGS+=-I. -I${X11BASE}/include -I${X11BASE}/include/gtk12 \
- -I${X11BASE}/include/gnome-1.0 -I${LOCALBASE}/include \
+CFLAGS+=-I. -I${LOCALBASE}/include -I${LOCALBASE}/include/gtk12 \
+ -I${LOCALBASE}/include/gnome-1.0 -I${LOCALBASE}/include \
-I${LOCALBASE}/include/glib12 -I${LOCALBASE}/include/orbit-1.0
-LDADD+= -L${LOCALBASE}/lib -L${X11BASE}/lib -lORBitCosNaming -lORBit -lIIOP \
- -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
+LDADD+= -L${LOCALBASE}/lib -lORBitCosNaming -lORBit -lIIOP \
+ -lORBitutil -lglib-12 -lwrap -lm -lgnorba -lXpm -ljpeg -lgnomeui \
+ -lart_lgpl -lgdk_imlib -ltiff -lungif -lpng -lz -lSM -lICE -lgtk-12 \
+ -lgdk-12 -lgmodule-12 -lXext -lX11 -lgnome -lgnomesupport -lintl \
+ -lesd ${LDFLAGS} -laudiofile
CLEANFILES+=control-center-common.c control-center-skels.c \
control-center-stubs.c control-center.h cappletConf.sh \