diff options
author | krion <krion@FreeBSD.org> | 2004-06-28 02:07:03 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2004-06-28 02:07:03 +0800 |
commit | b9f98d390e94c96cdf512232964163bdc47e9921 (patch) | |
tree | 186c5ce32dfd2611546491190b4fd8ba8a62a2e7 /games | |
parent | 8345deb445c037fce53cfad080d9bed855878c80 (diff) | |
download | freebsd-ports-graphics-b9f98d390e94c96cdf512232964163bdc47e9921.tar.gz freebsd-ports-graphics-b9f98d390e94c96cdf512232964163bdc47e9921.tar.zst freebsd-ports-graphics-b9f98d390e94c96cdf512232964163bdc47e9921.zip |
Fix build
PR: ports/68378
Submitted by: Ports Fury
Diffstat (limited to 'games')
-rw-r--r-- | games/tux-aqfh/Makefile | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/games/tux-aqfh/Makefile b/games/tux-aqfh/Makefile index 0f230e37a81..aec997f22db 100644 --- a/games/tux-aqfh/Makefile +++ b/games/tux-aqfh/Makefile @@ -15,24 +15,27 @@ MAINTAINER= ports@FreeBSD.org COMMENT= An OpenGL adventure game BUILD_DEPENDS= ${X11BASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib +LIB_DEPENDS= glut.3:${PORTSDIR}/graphics/libglut -BROKEN= "Build fails" - -USE_REINPLACE= yes USE_X_PREFIX= yes -USE_MESA= yes +USE_GL= yes +USE_REINPLACE= yes USE_GMAKE= yes GNU_CONFIGURE= yes -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ - LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib" +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" CONFIGURE_ARGS= --with-plib=${X11BASE} +CPPFLAGS= -I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS} +LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib -lusbhid ${PTHREAD_LIBS} + post-patch: - @${REINPLACE_CMD} -e 's|-O6|${PTHREAD_CFLAGS}|g ; \ - s|-lpthread|${PTHREAD_LIBS}|g ; \ + @${REINPLACE_CMD} -e \ + 's|-lplibsl -lplibssg|-lplibsl -lplibjs -lplibssg|g ; \ + s|-O6||g ; \ + s|-lpthread||g ; \ s|datadir/games|datadir|g' ${WRKSRC}/configure @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ - 's|[\$$][(]prefix[)]/games|\@bindir\@|g ; \ - s|[\$$][(]datadir[)]/games|\$$(datadir)|g' + 's|$$(prefix)/games|@bindir@|g ; \ + s|$$(datadir)/games|$$(datadir)|g' .include <bsd.port.mk> |