diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2004-06-27 18:07:03 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2004-06-27 18:07:03 +0000 |
commit | 74cca606500b1032505013f269d5d16363a99e02 (patch) | |
tree | 35a11ef4ef3b29589a92c72c8b82684eca403f74 /games/tux-aqfh | |
parent | a6c2d1445809a52491891b4fe54cb908f55b7631 (diff) | |
download | ports-74cca606500b1032505013f269d5d16363a99e02.tar.gz ports-74cca606500b1032505013f269d5d16363a99e02.zip |
Notes
Diffstat (limited to 'games/tux-aqfh')
-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 0f230e37a812..aec997f22dbd 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> |