aboutsummaryrefslogtreecommitdiffstats
path: root/audio/juk
diff options
context:
space:
mode:
authorlofi <lofi@FreeBSD.org>2003-10-18 23:44:38 +0800
committerlofi <lofi@FreeBSD.org>2003-10-18 23:44:38 +0800
commit0464017e78eff7d3a5f27fa58e8df4bd4b79b36c (patch)
treec0ad1e334c3091b1b682f2eb1774714ea73fedc2 /audio/juk
parent768f8cd3b2db1c7eea41c4f532721a15cc7ad981 (diff)
downloadfreebsd-ports-gnome-0464017e78eff7d3a5f27fa58e8df4bd4b79b36c.tar.gz
freebsd-ports-gnome-0464017e78eff7d3a5f27fa58e8df4bd4b79b36c.tar.zst
freebsd-ports-gnome-0464017e78eff7d3a5f27fa58e8df4bd4b79b36c.zip
Fix build on -CURRENT.
PR: ports/58210 Submitted by: Markus Brueffer <brueffer@phoenix-systems.de> Notified by: kris
Diffstat (limited to 'audio/juk')
-rw-r--r--audio/juk/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/audio/juk/Makefile b/audio/juk/Makefile
index 72958693ae4f..94ab03fc0a2e 100644
--- a/audio/juk/Makefile
+++ b/audio/juk/Makefile
@@ -20,7 +20,13 @@ RUN_DEPENDS= ${LOCALBASE}/lib/kde3/kfile_mp3.so:${PORTSDIR}/multimedia/kdemultim
USE_KDELIBS_VER=3
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --program-transform-name=''
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+USE_REINPLACE= yes
+
+CONFIGURE_TARGET= --build=${ARCH}-portsbld-freebsd${OSREL}
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|-O2||g; s|-pedantic ||g; \
+ s|-lpthread|${PTHREAD_LIBS}|g' \
+ ${WRKSRC}/${CONFIGURE_SCRIPT}
.include <bsd.port.mk>