Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Nov 2003 00:15:19 +0900
From:      KATO Tsuguru <tkato@prontomail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/58878: Update port: lang/lafontaine
Message-ID:  <20031104001519.72b55c0e.tkato@prontomail.com>
Resent-Message-ID: <200311031520.hA3FKH05059703@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         58878
>Category:       ports
>Synopsis:       Update port: lang/lafontaine
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 03 07:20:17 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.9-RELEASE i386
>Organization:
>Environment:
>Description:
- Fix build on -current

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/lang/lafontaine/Makefile lang/lafontaine/Makefile
--- /usr/ports/lang/lafontaine/Makefile	Wed Oct 29 18:10:35 2003
+++ lang/lafontaine/Makefile	Mon Nov  3 22:33:06 2003
@@ -19,22 +19,23 @@
 
 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>
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031104001519.72b55c0e.tkato>