diff options
author | pav <pav@FreeBSD.org> | 2005-07-06 06:30:07 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2005-07-06 06:30:07 +0800 |
commit | a9c9f854965a3a8b11f190f71fc47b70b1d39ab1 (patch) | |
tree | d1aaabe2b79ca4c606be1220ca02118e2e2b230e /audio | |
parent | 0b856bd0f19aa98cb63c836a91c7b7e43a799c21 (diff) | |
download | freebsd-ports-gnome-a9c9f854965a3a8b11f190f71fc47b70b1d39ab1.tar.gz freebsd-ports-gnome-a9c9f854965a3a8b11f190f71fc47b70b1d39ab1.tar.zst freebsd-ports-gnome-a9c9f854965a3a8b11f190f71fc47b70b1d39ab1.zip |
- Disable libsidplay for FreeBSD 4.X due to clash between gcc295 and gcc34
PR: ports/82956
Submitted by: Emanuel Haupt <ehaupt@critical.ch> (maintainer)
Diffstat (limited to 'audio')
-rw-r--r-- | audio/ocp/Makefile | 13 | ||||
-rw-r--r-- | audio/ocp/pkg-plist | 4 |
2 files changed, 12 insertions, 5 deletions
diff --git a/audio/ocp/Makefile b/audio/ocp/Makefile index 392e40347d29..82281f6010fc 100644 --- a/audio/ocp/Makefile +++ b/audio/ocp/Makefile @@ -7,14 +7,14 @@ PORTNAME= ocp PORTVERSION= 0.1.9 +PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= http://labs.nixia.no/ MAINTAINER= ehaupt@critical.ch COMMENT= The legendary Open Cubic Player -LIB_DEPENDS= sidplay.1:${PORTSDIR}/audio/libsidplay \ - id3tag.2:${PORTSDIR}/audio/libid3tag \ +LIB_DEPENDS= id3tag.2:${PORTSDIR}/audio/libid3tag \ mad.2:${PORTSDIR}/audio/libmad \ vorbis.3:${PORTSDIR}/audio/libvorbis @@ -43,8 +43,15 @@ TIMIDITY_CFG= ${LOCALBASE}/share/timidity/timidity.cfg .include <bsd.port.pre.mk> +.if ${OSVERSION} > 500000 +LIB_DEPENDS+= sidplay.1:${PORTSDIR}/audio/libsidplay +PLIST_SUB+= LIBSIDPLAY="" +.else +PLIST_SUB+= LIBSIDPLAY="@comment " +.endif + .if exists(${TIMIDITY_CFG}) || !defined(WITHOUT_MIDI) -RUN_DEPENDS= ${TIMIDITY_CFG}:${PORTSDIR}/audio/eawpats +RUN_DEPENDS+= ${TIMIDITY_CFG}:${PORTSDIR}/audio/eawpats .endif .if defined(WITHOUT_X11) diff --git a/audio/ocp/pkg-plist b/audio/ocp/pkg-plist index 969f14fd2e0e..96d104b4f42c 100644 --- a/audio/ocp/pkg-plist +++ b/audio/ocp/pkg-plist @@ -42,8 +42,8 @@ lib/ocp/playit.so lib/ocp/playmp2.so lib/ocp/playogg.so %%ADPLUG%%lib/ocp/playopl.so -lib/ocp/playsid.so -lib/ocp/sidtype.so +%%LIBSIDPLAY%%lib/ocp/playsid.so +%%LIBSIDPLAY%%lib/ocp/sidtype.so lib/ocp/playwav.so lib/ocp/playxm.so lib/ocp/plrbase.so |