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 --- net-p2p/verlihub-plugins/Makefile | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) (limited to 'net-p2p') diff --git a/net-p2p/verlihub-plugins/Makefile b/net-p2p/verlihub-plugins/Makefile index 3f170a029d17..ee493491f001 100644 --- a/net-p2p/verlihub-plugins/Makefile +++ b/net-p2p/verlihub-plugins/Makefile @@ -16,17 +16,18 @@ MAINTAINER= hurbold@yahoo.com COMMENT= Plugins for the Verlihub Linux/Unix Direct Connect Hub Software BUILD_DEPENDS= ${LOCALBASE}/bin/verlihub:${PORTSDIR}/net-p2p/verlihub -LIB_DEPENDS= lua.5:${PORTSDIR}/lang/lua50 WRKSRC= ${WRKDIR}/vh_plugins-0.1 USE_GMAKE= yes +USE_LUA= 5.0 +USE_GCC= 3.3 GNU_CONFIGURE= yes INSTALLS_SHLIB= yes LDCONFIG_DIRS= %%PREFIX%%/include/verlihub -CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/verlihub -I${LOCALBASE}/include/mysql" - -DATADIR= ${PREFIX}/share/${PORTNAME} +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" +CPPFLAGS= -I${LOCALBASE}/include -I${LOCALBASE}/include/verlihub -I${LOCALBASE}/include/mysql -I${LUA_INCDIR} +LDFLAGS= -L${LUA_LIBDIR} post-install: @${MKDIR} ${DATADIR} @@ -45,14 +46,6 @@ post-install: .include -.if ${OSVERSION} < 502010 -USE_GCC= 3.3 -.endif - -.if ${OSVERSION} > 502126 -BROKEN= Does not compile with gcc 3.4 -.endif - .if ${PERL_LEVEL} < 500800 IGNORE= requires perl 5.8 or later. Install lang/perl5.8 and try again .endif -- cgit v1.2.3