aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHye-Shik Chang <perky@FreeBSD.org>2003-04-09 12:09:37 +0000
committerHye-Shik Chang <perky@FreeBSD.org>2003-04-09 12:09:37 +0000
commitef1f56850f54632e8653387fb74f5e283afe37d0 (patch)
treefef6f560b79178a48ed23777ef20f2a3e5b139de
parentdb6fbb51c05a030ee18b9e59f6e817bee33ddfc9 (diff)
downloadports-ef1f56850f54632e8653387fb74f5e283afe37d0.tar.gz
ports-ef1f56850f54632e8653387fb74f5e283afe37d0.zip
Notes
-rw-r--r--misc/xosd/Makefile13
-rw-r--r--misc/xosd/files/patch-src-libxosd-Makefile.am8
-rw-r--r--misc/xosd/files/patch-src-xmms_plugin-Makefile.am10
3 files changed, 7 insertions, 24 deletions
diff --git a/misc/xosd/Makefile b/misc/xosd/Makefile
index 3cf1f34abeab..7f2c678cc694 100644
--- a/misc/xosd/Makefile
+++ b/misc/xosd/Makefile
@@ -24,11 +24,9 @@ USE_X_PREFIX= yes
USE_GMAKE= yes
USE_GNOMENG= yes
USE_GNOME= gtk12
-USE_LIBTOOL= yes
-USE_AUTOMAKE_VER= 15
-AUTOMAKE_ARGS= --add-missing
-USE_AUTOCONF= yes
+GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
+USE_REINPLACE= yes
CONFIGURE_ENV= LIBS=${PTHREAD_LIBS}' -L${LOCALBASE}/lib -lgnugetopt' \
CFLAGS='${CFLAGS}' X11BASE='${X11BASE}' \
GTK_CONFIG='${GTK_CONFIG}' GLIB_CONFIG='${GLIB_CONFIG}' \
@@ -40,7 +38,10 @@ MAN3= xosd_destroy.3 xosd_is_onscreen.3 xosd_set_shadow_offset.3 \
xosd.3 xosd_get_number_lines.3 xosd_set_horizontal_offset.3 \
xosd_show.3 xosd_create.3 xosd_hide.3 xosd_set_pos.3 xosd_uninit.3
-pre-configure:
- cd ${WRKSRC} && ${LOCALBASE}/bin/libtoolize --force && ${ACLOCAL}
+pre-patch:
+ ${REINPLACE_CMD} -e 's,-lc_r,-lblahblah,g' ${WRKSRC}/ltmain.sh
+.for f in src/libxosd/Makefile.in src/xmms_plugin/Makefile.in
+ ${REINPLACE_CMD} -e 's,^\(CFLAGS =\)\(.*\)$$,\1 -I.. \2,g' ${WRKSRC}/$f
+.endfor
.include <bsd.port.mk>
diff --git a/misc/xosd/files/patch-src-libxosd-Makefile.am b/misc/xosd/files/patch-src-libxosd-Makefile.am
deleted file mode 100644
index be1d3536e87d..000000000000
--- a/misc/xosd/files/patch-src-libxosd-Makefile.am
+++ /dev/null
@@ -1,8 +0,0 @@
---- src/libxosd/Makefile.am~ Thu Aug 15 18:00:38 2002
-+++ src/libxosd/Makefile.am Wed Sep 18 17:16:18 2002
-@@ -1,4 +1,4 @@
--CFLAGS=@CFLAGS@ -I..
-+CFLAGS=-I.. @CFLAGS@
- # Library
- lib_LTLIBRARIES = libxosd.la
- libxosd_la_SOURCES = xosd.c
diff --git a/misc/xosd/files/patch-src-xmms_plugin-Makefile.am b/misc/xosd/files/patch-src-xmms_plugin-Makefile.am
deleted file mode 100644
index f5640ade051c..000000000000
--- a/misc/xosd/files/patch-src-xmms_plugin-Makefile.am
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/xmms_plugin/Makefile.am.orig Sun Mar 2 12:06:14 2003
-+++ src/xmms_plugin/Makefile.am Mon Mar 31 13:58:03 2003
-@@ -1,6 +1,6 @@
- # XMMS library
-
--AM_CFLAGS=@XMMS_CFLAGS@ @GTK_CFLAGS@ @GDK_PIXBUF_CFLAGS@ -I..
-+AM_CFLAGS=-I.. @XMMS_CFLAGS@ @GTK_CFLAGS@ @GDK_PIXBUF_CFLAGS@ -I..
-
- xmmsplugindir = ${XMMS_PLUGIN_DIR}
-