summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-11-03 19:34:53 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-11-03 19:34:53 +0000
commitf8e330008ef1653396477983520774f3a544672a (patch)
treefa35f55189e2c6663de226568172ca3b7217219b /lang
parentFix build on -CURRENT (maintainer informed). Bump PORTREVISION. (diff)
- Fix build on -current
PR: 58878 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=92988
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>