diff --git a/audio/xmms-midi/Makefile b/audio/xmms-midi/Makefile index 9d8fbb2494e9..710919dbd3cd 100644 --- a/audio/xmms-midi/Makefile +++ b/audio/xmms-midi/Makefile @@ -6,10 +6,10 @@ PORTNAME= xmms-midi PORTVERSION= 0.03 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= audio MASTER_SITES= http://dl.fkb.wormulon.net/xmms-midi/ \ - http://dl.kel.wormulon.net/xmms-midi/ + http://dl.kel.wormulon.net/xmms-midi/ MAINTAINER= ports@FreeBSD.org COMMENT= XMMS input plugin to play midi files @@ -19,10 +19,16 @@ RUN_DEPENDS= timidity:${PORTSDIR}/audio/timidity USE_GNOME= gtk12 USE_X_PREFIX= yes -USE_AUTOTOOLS= automake:14 autoconf:213 libtool:15 +USE_AUTOTOOLS= libtool:15 +USE_GMAKE= yes PLIST_FILES= lib/xmms/Input/libmid.a \ lib/xmms/Input/libmid.la \ lib/xmms/Input/libmid.so +post-patch: + ${REINPLACE_CMD} -e "s,/xmms/Input,/lib/xmms/Input,; \ + s,_LDFLAGS =,_LDFLAGS = -module -export-dynamic -avoid-version," \ + ${WRKSRC}/Makefile.in + .include diff --git a/audio/xmms-midi/files/patch-Makefile.am b/audio/xmms-midi/files/patch-Makefile.am deleted file mode 100644 index 899d88a15220..000000000000 --- a/audio/xmms-midi/files/patch-Makefile.am +++ /dev/null @@ -1,17 +0,0 @@ - -$FreeBSD$ - ---- Makefile.am.orig Sat Oct 26 23:59:48 2002 -+++ Makefile.am Sun Oct 27 00:02:18 2002 -@@ -1,9 +1,9 @@ --xmmsinputdir = $(prefix)/xmms/Input -+xmmsinputdir = $(prefix)/lib/xmms/Input - - xmmsinput_LTLIBRARIES = libmid.la - - CFLAGS = @CFLAGS@ -DTIMID_VERSION=\"0.2i\" - - libmid_la_SOURCES = common.c controls.c dumb_c.c filter.c instrum.c mid.c mix.c output.c playmidi.c readmidi.c resample.c tables.c timidity.c xmms_a.c -- -+libmid_la_LDFLAGS = -module -export-dynamic -avoid-version -