svn commit: r313721 - in head: devel/gpsim multimedia/subtitleeditor x11-themes/rezlooks
Koop Mast
kwm at FreeBSD.org
Sat Mar 9 15:25:10 UTC 2013
Author: kwm
Date: Sat Mar 9 15:25:08 2013
New Revision: 313721
URL: http://svnweb.freebsd.org/changeset/ports/313721
Log:
Fix build with glib 2.34.
Submitted by: miwi
Modified:
head/devel/gpsim/Makefile
head/multimedia/subtitleeditor/Makefile
head/x11-themes/rezlooks/Makefile
Modified: head/devel/gpsim/Makefile
==============================================================================
--- head/devel/gpsim/Makefile Sat Mar 9 15:19:06 2013 (r313720)
+++ head/devel/gpsim/Makefile Sat Mar 9 15:25:08 2013 (r313721)
@@ -26,6 +26,12 @@ LDFLAGS+= -L${LOCALBASE}/lib
.include <bsd.port.pre.mk>
+post-patch:
+ @${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g' \
+ ${WRKSRC}/src/os_dependent.cc
+ @${REINPLACE_CMD} -e 's|glibconfig.h|glib.h|g' \
+ ${WRKSRC}/src/bitlog.h
+
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
Modified: head/multimedia/subtitleeditor/Makefile
==============================================================================
--- head/multimedia/subtitleeditor/Makefile Sat Mar 9 15:19:06 2013 (r313720)
+++ head/multimedia/subtitleeditor/Makefile Sat Mar 9 15:25:08 2013 (r313721)
@@ -39,5 +39,6 @@ BROKEN= does not compile
post-patch:
@${REINPLACE_CMD} -e '/test/s|==|=|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|strtoll|strtoq|g' ${WRKSRC}/plugins/subtitleformats/advancedsubstationalpha/advancedsubstationalpha.cc
+ @${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g' ${WRKSRC}/plugins/actions/findandreplace/findandreplace.cc
.include <bsd.port.post.mk>
Modified: head/x11-themes/rezlooks/Makefile
==============================================================================
--- head/x11-themes/rezlooks/Makefile Sat Mar 9 15:19:06 2013 (r313720)
+++ head/x11-themes/rezlooks/Makefile Sat Mar 9 15:25:08 2013 (r313721)
@@ -26,4 +26,8 @@ OPTIONS+= ANIMATION "Animation support"
CONFIGURE_ARGS+= --enable-animation
.endif
+post-patch:
+ @${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g' \
+ ${WRKSRC}/src/animation.c
+
.include <bsd.port.mk>
More information about the svn-ports-head
mailing list