1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

Replace patch-Makefile.am with REINPLACE_CMDs to Makefile.in to avoid

the need of running autotools.
This commit is contained in:
Tilman Keskinoz 2008-01-12 15:13:43 +00:00
parent 578dc576ef
commit fada0e3c16
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=205512
2 changed files with 9 additions and 20 deletions

View File

@ -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 <bsd.port.mk>

View File

@ -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