aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/verlihub-plugins
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2006-09-15 08:17:11 +0000
committerMark Linimon <linimon@FreeBSD.org>2006-09-15 08:17:11 +0000
commitc5aeb93cd5e4998728da54611bdf63c686a2fdfd (patch)
treef418d7aa01e7bae10fc4d0734eec45cd9e925529 /net-p2p/verlihub-plugins
parentf4c5a682e5c43c1c1477307463458409ae3b3de5 (diff)
downloadports-c5aeb93cd5e4998728da54611bdf63c686a2fdfd.tar.gz
ports-c5aeb93cd5e4998728da54611bdf63c686a2fdfd.zip
Notes
Diffstat (limited to 'net-p2p/verlihub-plugins')
-rw-r--r--net-p2p/verlihub-plugins/Makefile17
1 files changed, 5 insertions, 12 deletions
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 <bsd.port.pre.mk>
-.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