summaryrefslogtreecommitdiff
path: root/audio/cheesetracker/Makefile
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-12-29 04:36:10 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-12-29 04:36:10 +0000
commit41247af72b55fe2c3763a218e9e7dd6002830393 (patch)
tree71e47f461aab0b41f67623c399fbd6c795b2f456 /audio/cheesetracker/Makefile
parentFix compilation on -current (diff)
fix build on -current
PR: 46598 Submitted by: Ports Fury
Diffstat (limited to 'audio/cheesetracker/Makefile')
-rw-r--r--audio/cheesetracker/Makefile20
1 files changed, 12 insertions, 8 deletions
diff --git a/audio/cheesetracker/Makefile b/audio/cheesetracker/Makefile
index 88760ead187e..d494ebc9397f 100644
--- a/audio/cheesetracker/Makefile
+++ b/audio/cheesetracker/Makefile
@@ -14,20 +14,24 @@ MASTER_SITES= http://www.reduz.com.ar/cheesetracker/
MAINTAINER= ports@FreeBSD.org
BUILD_DEPENDS= ${LOCALBASE}/share/automake14/install-sh:${PORTSDIR}/devel/automake14
-LIB_DEPENDS= sigc:${PORTSDIR}/devel/libsigc++ \
- gtkmm:${PORTSDIR}/x11-toolkits/gtk--
+LIB_DEPENDS= gtkmm.2:${PORTSDIR}/x11-toolkits/gtk--
-GNU_CONFIGURE= yes
-USE_GMAKE= yes
USE_REINPLACE= yes
+USE_GNOMENG= yes
+USE_GNOME= gtk12
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
+ AUTOHEADER="${TRUE}"
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|[$$]CXXFLAGS_OPT |\$$CXXFLAGS |g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|AFMT_S16_NE|AFMT_S16_LE|g' ${WRKSRC}/waveout/sound_driver_oss.cpp
pre-configure:
.for file in install-sh missing mkinstalldirs
- @${LN} -sf ${LOCALBASE}/share/automake14/automake/${file} ${WRKSRC}
+ @${LN} -sf ${LOCALBASE}/share/automake14/${file} ${WRKSRC}
.endfor
@${RM} -f ${WRKSRC}/config.cache
-post-patch:
- @${REINPLACE_CMD} -e "s,AFMT_S16_NE,AFMT_S16_LE,g" ${WRKSRC}/waveout/sound_driver_oss.cpp
-
.include <bsd.port.mk>