diff options
author | Herve Quiroz <hq@FreeBSD.org> | 2005-08-11 15:01:30 +0000 |
---|---|---|
committer | Herve Quiroz <hq@FreeBSD.org> | 2005-08-11 15:01:30 +0000 |
commit | ad694c33639839a51940bb0311a7ccbb0af48826 (patch) | |
tree | 5ec1908c226deb0a2cdae10132c885fb7e299622 | |
parent | - Mark valgrind ports IGNORE when /proc is not mounted, previously, only (diff) |
Fix USE_RC_SUBR not being defined properly when WITHOUT_GUI is defined, thus
breaking the resulting rcNG script. This can be the case when installing
net/mldonkey-core.
Approved by: portmgr (clement)
Notes
Notes:
svn path=/head/; revision=140848
-rw-r--r-- | net-p2p/mldonkey/Makefile | 5 | ||||
-rw-r--r-- | net/mldonkey/Makefile | 5 |
2 files changed, 8 insertions, 2 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 diff --git a/net/mldonkey/Makefile b/net/mldonkey/Makefile index 192105f7dab0..abdb80851f71 100644 --- a/net/mldonkey/Makefile +++ b/net/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 |