Date: Fri, 8 Sep 2006 00:46:48 +0200 (CEST) From: Marcus von Appen <mva@sysfault.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/103004: [Maintainer-update]: games/tmw unbreak on FreeBSD 4.x Message-ID: <200609072246.k87MkmrY089727@medusa.sysfault.org> Resent-Message-ID: <200609072250.k87MoLUt082049@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 103004 >Category: ports >Synopsis: [Maintainer-update]: games/tmw unbreak on FreeBSD 4.x >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Thu Sep 07 22:50:20 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Marcus von Appen >Release: FreeBSD 6.1-STABLE i386 >Organization: >Environment: System: FreeBSD medusa.sysfault.org 6.1-STABLE FreeBSD 6.1-STABLE #12: Tue Aug 29 19:10:11 CEST 2006 root@medusa.sysfault.org:/usr/obj/usr/src/sys/MEDUSA i386 >Description: Unbreak build on 4.x. >How-To-Repeat: >Fix: diff -Nur tmw/Makefile tmw.new/Makefile --- tmw/Makefile Wed Sep 6 21:38:18 2006 +++ tmw.new/Makefile Fri Sep 8 00:13:35 2006 @@ -23,15 +23,16 @@ USE_X_PREFIX= yes GNU_CONFIGURE= yes USE_SDL= sdl image mixer net +USE_GCC= 3.2+ +USE_GETOPT_LONG=yes -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include `${SDL_CONFIG} --cflags` -I${X11BASE}/include" \ - LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" \ - CXXFLAGS="${PTHREAD_LIBS}" +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include `${SDL_CONFIG} --cflags` -I${X11BASE}/include ${PTHREAD_CFLAGS}" \ + LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS}" +CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} .include <bsd.port.pre.mk> -.if ${OSVERSION} < 500000 -BROKEN= does not compile -.endif +post-patch: + @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure .include <bsd.port.post.mk> >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200609072246.k87MkmrY089727>