From c5aeb93cd5e4998728da54611bdf63c686a2fdfd Mon Sep 17 00:00:00 2001 From: Mark Linimon Date: Fri, 15 Sep 2006 08:17:11 +0000 Subject: Modify these files to reflect bsd.lua.mk as tested on the cluster. PR: ports/101612 Submitted by: alepulver Hat: portmgr --- astro/celestia/Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'astro') diff --git a/astro/celestia/Makefile b/astro/celestia/Makefile index 18f8c76151e2..7dd2e7b31608 100644 --- a/astro/celestia/Makefile +++ b/astro/celestia/Makefile @@ -26,9 +26,9 @@ WANT_GNOME= yes USE_X_PREFIX= yes CONFIGURE_ARGS= --program-prefix="" -CONFIGURE_ENV= \ - LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib -lm ${PTHREAD_LIBS}" \ - CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" +CPPFLAGS= -I${X11BASE}/include -I${LOCALBASE}/include ${PTHREAD_CFLAGS} +LDFLAGS= -L${X11BASE}/lib -L${LOCALBASE}/lib -lm ${PTHREAD_LIBS} UI_LIST= glut gtk gnome CELESTIA_UI?= glut @@ -77,8 +77,10 @@ IGNORE= does not compile on FreeBSD 4.x .endif .if defined(WITH_LUA) -LIB_DEPENDS+= lua.5:${PORTSDIR}/lang/lua50 +USE_LUA= 5.0 CONFIGURE_ARGS+= --with-lua +CPPFLAGS+= -I${LUA_INCDIR} +LDFLAGS+= -L${LUA_LIBDIR} .endif pre-patch: -- cgit v1.2.3