aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2007-05-02 16:05:06 +0800
committeredwin <edwin@FreeBSD.org>2007-05-02 16:05:06 +0800
commita1be2033ecea1516863b63d220b04204aa4f440b (patch)
tree62bca7f3ee295950b90b79c0e7031e19ae760624
parent03177838ba3bb0b6cd2b166fa47fe566a635237f (diff)
downloadfreebsd-ports-gnome-a1be2033ecea1516863b63d220b04204aa4f440b.tar.gz
freebsd-ports-gnome-a1be2033ecea1516863b63d220b04204aa4f440b.tar.zst
freebsd-ports-gnome-a1be2033ecea1516863b63d220b04204aa4f440b.zip
[patch] cleanup non-supported FreeBSD versions
PR: ports/111698 Submitted by: Edwin Groothuis <edwin@mavetju.org> Approved by: maintainer timeout
-rw-r--r--audio/xmp/Makefile28
1 files changed, 8 insertions, 20 deletions
diff --git a/audio/xmp/Makefile b/audio/xmp/Makefile
index 962c543a26cd..a7117d56470d 100644
--- a/audio/xmp/Makefile
+++ b/audio/xmp/Makefile
@@ -17,37 +17,25 @@ COMMENT= A player for many different Amiga and PC module formats
USE_BZIP2= yes
USE_X_PREFIX= yes
-WANT_GNOME= yes
+USE_GNOME= esound
USE_GMAKE= yes
USE_AUTOTOOLS= autoconf:213
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
-CONFIGURE_ARGS= --disable-alsa
+CONFIGURE_ARGS= --disable-alsa --disable-oss --enable-esd
-CFLAGS+= -fPIC
-
-.include <bsd.port.pre.mk>
+MAN1= xmp.1
+MLINKS= xmp.1 xxmp.1
-.if ${OSVERSION} > 500013 || ${MACHINE_ARCH} == "alpha"
-USE_GNOME+= esound
-CONFIGURE_ARGS+= --disable-oss --enable-esd
-PKGNAMESUFFIX= -esound
-.elif ${HAVE_GNOME:Mesound}!=""
-USE_GNOME+= esound
-CONFIGURE_ARGS+= --enable-esd
-PKGNAMESUFFIX= -esound
-.endif
+CFLAGS+= -fPIC
.if !defined(WITHOUT_XMMS)
- LIB_DEPENDS+= xmms.4:${PORTSDIR}/multimedia/xmms
+LIB_DEPENDS+= xmms.4:${PORTSDIR}/multimedia/xmms
.else
- CONFIGURE_ARGS+= --disable-xmms
+CONFIGURE_ARGS+=--disable-xmms
.endif
-MAN1= xmp.1
-MLINKS= xmp.1 xxmp.1
-
post-patch:
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/docs/xmp.1
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>