diff options
author | ahze <ahze@FreeBSD.org> | 2004-11-12 11:17:42 +0800 |
---|---|---|
committer | ahze <ahze@FreeBSD.org> | 2004-11-12 11:17:42 +0800 |
commit | 0c7fd2f40b00614b05594bc076821c49ee4c9354 (patch) | |
tree | 83832b337a5fed748b462f7b8bc43243658c504d | |
parent | d2561b322ca2c1fbe5bc8f5976b4293a25ce0cb4 (diff) | |
download | freebsd-ports-gnome-0c7fd2f40b00614b05594bc076821c49ee4c9354.tar.gz freebsd-ports-gnome-0c7fd2f40b00614b05594bc076821c49ee4c9354.tar.zst freebsd-ports-gnome-0c7fd2f40b00614b05594bc076821c49ee4c9354.zip |
Fix build on 5.x
Don't build not needed libraries
Approved by: adamw (mentor)
-rw-r--r-- | audio/bmp-faad/Makefile | 11 | ||||
-rw-r--r-- | audio/bmp-faad/files/patch-xmms-Makefile.am | 12 |
2 files changed, 9 insertions, 14 deletions
diff --git a/audio/bmp-faad/Makefile b/audio/bmp-faad/Makefile index 74e519dc34ed..94b0d056b35c 100644 --- a/audio/bmp-faad/Makefile +++ b/audio/bmp-faad/Makefile @@ -41,6 +41,9 @@ DESCR= ${PORTSDIR}/audio/faad/pkg-descr MD5_FILE= ${PORTSDIR}/audio/faad/distinfo PLIST_FILES= lib/bmp/Input/libmp4.so +BUILD_WRKSRC= ${WRKSRC}/plugins/xmms/src +INSTALL_WRKSRC= ${WRKSRC}/plugins/xmms/src + .include <bsd.port.pre.mk> pre-patch: build-depends @@ -60,12 +63,4 @@ post-patch: 's|-O2|${CFLAGS}|' @${REINPLACE_CMD} -e 's|<xmms|<bmp|' ${WRKSRC}/plugins/xmms/src/libmp4.c -do-build: - @cd ${WRKSRC}/libfaad && ${MAKE} - @cd ${WRKSRC}/common/mp4v2 && ${MAKE} - @cd ${WRKSRC}/plugins/xmms/src && ${MAKE} - -do-install: - @cd ${WRKSRC}/plugins/xmms/src && ${MAKE} install - .include <bsd.port.post.mk> diff --git a/audio/bmp-faad/files/patch-xmms-Makefile.am b/audio/bmp-faad/files/patch-xmms-Makefile.am index 8fc045eb0f16..90d441aade79 100644 --- a/audio/bmp-faad/files/patch-xmms-Makefile.am +++ b/audio/bmp-faad/files/patch-xmms-Makefile.am @@ -1,6 +1,6 @@ --- plugins/xmms/src/Makefile.am.orig Fri Feb 6 11:05:07 2004 -+++ plugins/xmms/src/Makefile.am Thu Sep 2 13:36:46 2004 -@@ -1,13 +1,13 @@ ++++ plugins/xmms/src/Makefile.am Thu Nov 11 18:56:18 2004 +@@ -1,13 +1,10 @@ -libdir = `$(XMMS_CONFIG) --input-plugin-dir` +libdir = `pkg-config --variable=input_plugin_dir bmp` lib_LTLIBRARIES = libmp4.la @@ -11,11 +11,11 @@ + `pkg-config bmp --cflags` \ -I$(top_srcdir)/include -I$(top_srcdir)/common/mp4v2 - libmp4_la_LIBADD = $(top_builddir)/libfaad/libfaad.la \ - $(top_builddir)/common/mp4v2/libmp4v2.la - +-libmp4_la_LIBADD = $(top_builddir)/libfaad/libfaad.la \ +- $(top_builddir)/common/mp4v2/libmp4v2.la +- -libmp4_la_LDFLAGS = -module -avoid-version `$(XMMS_CONFIG) --libs` \ - `$(GTK_CONFIG) --libs` -lpthread -lstdc++ +libmp4_la_LDFLAGS = -module -avoid-version `pkg-config bmp --libs` \ -+ `pkg-config gtk+-2.0 --libs` -lpthread -lstdc++ ++ `pkg-config gtk+-2.0 --libs` -lpthread -lstdc++ -lfaad -lmp4v2 libmp4_la_SOURCES = libmp4.c mp4_utils.c aac_utils.c |