aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2012-11-13 21:56:37 +0800
committerdanfe <danfe@FreeBSD.org>2012-11-13 21:56:37 +0800
commite9cd7a2298f0e8760e68fc5e933b003ae00c6a68 (patch)
tree1acd7f8467ce071a259928641b5ff91ac4ac90d6
parent76cad24833162e8308cea02f0cd7b506dac8f7c3 (diff)
downloadfreebsd-ports-gnome-e9cd7a2298f0e8760e68fc5e933b003ae00c6a68.tar.gz
freebsd-ports-gnome-e9cd7a2298f0e8760e68fc5e933b003ae00c6a68.tar.zst
freebsd-ports-gnome-e9cd7a2298f0e8760e68fc5e933b003ae00c6a68.zip
- Add DOCS knob to OPTIONS_DEFINE
- Drop no longer relevant adjustment of ltmain.sh - Move PATCH_STRIP downstairs a bit Feature safe: yes
-rw-r--r--misc/xosd/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/misc/xosd/Makefile b/misc/xosd/Makefile
index 1d13c02c83d5..fe3fc1fd758b 100644
--- a/misc/xosd/Makefile
+++ b/misc/xosd/Makefile
@@ -12,7 +12,6 @@ COMMENT= X11 on-screen-display program and library
LICENSE= GPLv2
-PATCH_STRIP= -p1
USE_AUTOTOOLS= libtool
USE_CSTD= gnu89
USE_GMAKE= yes
@@ -23,6 +22,7 @@ CONFIGURE_ENV= LIBS=${PTHREAD_LIBS}' -L${LOCALBASE}/lib' \
GTK_CONFIG='${GTK_CONFIG}' GLIB_CONFIG='${GLIB_CONFIG}' \
XMMS_PLUGINDIR=${LOCALBASE}/lib/xmms
CONFIGURE_ARGS= --disable-beep_media_player_plugin
+PATCH_STRIP= -p1
MAN1= osd_cat.1 xosd-config.1
MAN3= xosd.3 xosd_create.3 xosd_destroy.3 xosd_display.3 \
@@ -33,7 +33,7 @@ MAN3= xosd.3 xosd_create.3 xosd_destroy.3 xosd_display.3 \
xosd_show.3 xosd_uninit.3
PORTDOCS= AUTHORS ChangeLog TODO
-OPTIONS_DEFINE= XMMS MSEC XFT
+OPTIONS_DEFINE= XMMS MSEC XFT DOCS
OPTIONS_DEFAULT= XMMS
XMMS_DESC= Build and install XMMS-OSD plugin
MSEC_DESC= Use milliseconds timeout (breaks compatibility!)
@@ -67,7 +67,6 @@ USE_XORG+= xft
.endif
post-patch:
- @${REINPLACE_CMD} -e 's,-lc_r,-lblahblah,' ${WRKSRC}/ltmain.sh
@${REINPLACE_CMD} -e 's,-lpthread,${PTHREAD_LIBS}, ; \
s,echo aout,echo elf,' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's,^\(CFLAGS =\)\(.*\)$$,\1 -I..\2,' \