diff options
author | fjoe <fjoe@FreeBSD.org> | 2004-02-05 05:31:02 +0800 |
---|---|---|
committer | fjoe <fjoe@FreeBSD.org> | 2004-02-05 05:31:02 +0800 |
commit | 9a5790060d59e3010feb573fdab03c7a148ac9ef (patch) | |
tree | 3b1bb3c1099032003c3c22a8a876c1e625eee78f /audio/xmms-arts_output | |
parent | c28677aa3b03a8cb39b8516a46737711b086d2f6 (diff) | |
download | freebsd-ports-gnome-9a5790060d59e3010feb573fdab03c7a148ac9ef.tar.gz freebsd-ports-gnome-9a5790060d59e3010feb573fdab03c7a148ac9ef.tar.zst freebsd-ports-gnome-9a5790060d59e3010feb573fdab03c7a148ac9ef.zip |
- USE_LIBTOOL (no .la files installed)
- Add patch to preload libstdc++ (LD_PRELOAD no longer needed)
- use PLIST_FILES
- Bump PORTREVISION
Diffstat (limited to 'audio/xmms-arts_output')
-rw-r--r-- | audio/xmms-arts_output/Makefile | 11 | ||||
-rw-r--r-- | audio/xmms-arts_output/files/patch-ltmain.sh | 25 | ||||
-rw-r--r-- | audio/xmms-arts_output/files/pkg-message.in | 16 | ||||
-rw-r--r-- | audio/xmms-arts_output/pkg-plist | 3 |
4 files changed, 3 insertions, 52 deletions
diff --git a/audio/xmms-arts_output/Makefile b/audio/xmms-arts_output/Makefile index cab52d61e132..613023feb127 100644 --- a/audio/xmms-arts_output/Makefile +++ b/audio/xmms-arts_output/Makefile @@ -8,7 +8,7 @@ PKGNAMEPREFIX= xmms- PORTNAME= arts_output PORTVERSION= 0.6.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= audio MASTER_SITES= http://havardk.xmms.org/plugins/arts_output/ @@ -20,14 +20,9 @@ LIB_DEPENDS= xmms.4:${PORTSDIR}/multimedia/xmms \ USE_X_PREFIX= yes USE_GNOME= gtk12 -GNU_CONFIGURE= yes +USE_LIBTOOL= yes INSTALLS_SHLIB= yes CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} -PKGMESSAGE= ${WRKDIR}/pkg-message - -post-install: - @${SED} -e 's,%%PREFIX%%,${PREFIX},g' \ - <${FILESDIR}/pkg-message.in >${PKGMESSAGE} - @${CAT} ${PKGMESSAGE} +PLIST_FILES= lib/xmms/Output/libarts.so .include <bsd.port.mk> diff --git a/audio/xmms-arts_output/files/patch-ltmain.sh b/audio/xmms-arts_output/files/patch-ltmain.sh deleted file mode 100644 index f9b9343c2295..000000000000 --- a/audio/xmms-arts_output/files/patch-ltmain.sh +++ /dev/null @@ -1,25 +0,0 @@ ---- ltmain.sh.orig Wed Aug 6 19:13:39 2003 -+++ ltmain.sh Tue Nov 11 22:47:49 2003 -@@ -1075,7 +1075,7 @@ - esac - elif test "X$arg" = "X-lc_r"; then - case $host in -- *-*-openbsd* | *-*-freebsd*) -+ *-*-openbsd*) - # Do not include libc_r directly, use -pthread flag. - continue - ;; -@@ -1084,6 +1084,13 @@ - deplibs="$deplibs $arg" - continue - ;; -+ -+ -pthread) -+ compile_command="$compile_command -pthread" -+ finalize_command="$finalize_command -pthread" -+ compiler_flags="$compiler_flags -pthread" -+ continue -+ ;; - - -module) - module=yes diff --git a/audio/xmms-arts_output/files/pkg-message.in b/audio/xmms-arts_output/files/pkg-message.in deleted file mode 100644 index 7293221d73b0..000000000000 --- a/audio/xmms-arts_output/files/pkg-message.in +++ /dev/null @@ -1,16 +0,0 @@ -In order to use aRts plugin on FreeBSD you must to do the following: - -1) Move xmms binary to xmms.bin: - -cd %%PREFIX%%/bin && mv xmms xmms.bin - -2) Write custom xmms script: - ---- cut here --- -#!/bin/sh -LD_PRELOAD=/usr/lib/libstdc++.so exec %%PREFIX%%/bin/xmms.bin "$@" ---- cut here --- - -and put it to %%PREFIX%%/bin - -/fjoe diff --git a/audio/xmms-arts_output/pkg-plist b/audio/xmms-arts_output/pkg-plist deleted file mode 100644 index 11e315bb9cb9..000000000000 --- a/audio/xmms-arts_output/pkg-plist +++ /dev/null @@ -1,3 +0,0 @@ -lib/xmms/Output/libarts.a -lib/xmms/Output/libarts.la -lib/xmms/Output/libarts.so |