Date: Sun, 14 Mar 2004 02:45:08 -0700 From: "Greg J." <xcas@cox.net> To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org> Subject: ports/64253: [MAINTAINER] x11-wm/kahakai, Fix build on FreeBSD 4.x Message-ID: <1079257508.0@localhost.bsd-unix.org> Resent-Message-ID: <200403140950.i2E9oAX5047754@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 64253 >Category: ports >Synopsis: [MAINTAINER] x11-wm/kahakai, Fix build on FreeBSD 4.x >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sun Mar 14 01:50:10 PST 2004 >Closed-Date: >Last-Modified: >Originator: Greg J. >Release: FreeBSD 5.2-CURRENT i386 >Organization: >Environment: System: FreeBSD 5.2-CURRENT #0: Sat Mar 13 11:24:43 MST 2004 cas@localhost.bsd-unix.org:/usr/obj/usr/src/sys/CASX32 >Description: Kahakai requires GCC 3.3 to build. >How-To-Repeat: >Fix: --- kahakai.diff begins here --- --- x11-wm/kahakai/Makefile.orig Sun Mar 14 02:21:15 2004 +++ x11-wm/kahakai/Makefile Sun Mar 14 02:28:14 2004 @@ -30,14 +30,21 @@ MAN1= kahakai.1 +GNU_CONFIGURE= yes CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include" \ CFLAGS=${PTHREAD_CFLAGS} \ LDFLAGS=-L${X11BASE}/lib \ LIBS=${PTHREAD_LIBS} + +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 500000 +USE_GCC= 3.3 +.endif post-patch: @${REINPLACE_CMD} -e 's|/tmp/ktest|${X11BASE}|' \ ${WRKSRC}/data/styles/Default.kastyle.in -.include <bsd.port.mk> +.include <bsd.port.post.mk> --- kahakai.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1079257508.0>