aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2003-11-04 03:34:53 +0800
committerkrion <krion@FreeBSD.org>2003-11-04 03:34:53 +0800
commitaf5f3b6f0cf21a9637f41dd4709bfcab2652162c (patch)
tree2c19fe7761fd2eb47759204a837e16bc1d89226f /lang
parent1b0a1db5c7b562d620232cb63ed46db31cc0b1a2 (diff)
downloadfreebsd-ports-gnome-af5f3b6f0cf21a9637f41dd4709bfcab2652162c.tar.gz
freebsd-ports-gnome-af5f3b6f0cf21a9637f41dd4709bfcab2652162c.tar.zst
freebsd-ports-gnome-af5f3b6f0cf21a9637f41dd4709bfcab2652162c.zip
- Fix build on -current
PR: 58878 Submitted by: Ports Fury
Diffstat (limited to 'lang')
-rw-r--r--lang/lafontaine/Makefile23
1 files changed, 12 insertions, 11 deletions
diff --git a/lang/lafontaine/Makefile b/lang/lafontaine/Makefile
index 40b112cedc57..71683fcb0304 100644
--- a/lang/lafontaine/Makefile
+++ b/lang/lafontaine/Makefile
@@ -19,22 +19,23 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_BZIP2= yes
USE_REINPLACE= yes
-USE_GNOME= gdkpixbuf
+USE_GNOME= gdkpixbuf gnometarget
+USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
-
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 501000
-BROKEN= "Does not compile on FreeBSD ${OSVERSION}"
-.endif
+MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
+ AUTOHEADER="${TRUE}"
post-patch:
- @${REINPLACE_CMD} -e 's|pixmaps/[\$$]PACKAGE|\$$PACKAGE|g ; \
- s|-O3|\$$CFLAGS|g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|pixmaps/$$PACKAGE|$$PACKAGE|g ; \
+ s|-O3|$$CFLAGS|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e \
's|"\./pixmaps/|PIXMAPDIR "/|g' ${WRKSRC}/src/callbacks.c
+ @${REINPLACE_CMD} -e \
+ 's|exit()|exit(0)|g' ${WRKSRC}/src/proc.c
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
's|/share/pixmaps|/share|g'
+.for file in src/lexer.en.l src/lexer.fr.l
+ @${REINPLACE_CMD} -e 's|\.##|.|g' ${WRKSRC}/${file}
+.endfor
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>