aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/mldonkey
diff options
context:
space:
mode:
authorHerve Quiroz <hq@FreeBSD.org>2005-08-11 15:01:30 +0000
committerHerve Quiroz <hq@FreeBSD.org>2005-08-11 15:01:30 +0000
commitad694c33639839a51940bb0311a7ccbb0af48826 (patch)
tree5ec1908c226deb0a2cdae10132c885fb7e299622 /net-p2p/mldonkey
parent69f79551f51ad501d945ca70d7d7ae7e6806b3b9 (diff)
downloadports-ad694c33639839a51940bb0311a7ccbb0af48826.tar.gz
ports-ad694c33639839a51940bb0311a7ccbb0af48826.zip
Notes
Diffstat (limited to 'net-p2p/mldonkey')
-rw-r--r--net-p2p/mldonkey/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/net-p2p/mldonkey/Makefile b/net-p2p/mldonkey/Makefile
index 192105f7dab0..abdb80851f71 100644
--- a/net-p2p/mldonkey/Makefile
+++ b/net-p2p/mldonkey/Makefile
@@ -26,6 +26,10 @@ CONFIGURE_ARGS= --enable-pthread --enable-ocamlver=3
USE_GMAKE= yes
ALL_TARGET= depend opt
+.if !defined(WITHOUT_CORE)
+USE_RC_SUBR= yes
+.endif
+
.if defined(WITHOUT_GUI)
.if defined(WITHOUT_CORE)
.error "Cool, you defined both WITHOUT_GUI and WITHOUT_CORE. I think I'll do nothing."
@@ -41,7 +45,6 @@ PLIST_SUB+= GUI=""
CONFLICTS+= mldonkey-gui-devel-[0.9]*
.if !defined(WITHOUT_CORE)
CONFLICTS+= mldonkey-[0-9]*
-USE_RC_SUBR= yes
.endif
BUILD_DEPENDS+= lablgtk:${PORTSDIR}/x11-toolkits/ocaml-lablgtk \
${LOCALBASE}/lib/ocaml/jabbr.cma:${PORTSDIR}/net/ocaml-jabbr