diff options
author | hq <hq@FreeBSD.org> | 2005-08-11 23:01:30 +0800 |
---|---|---|
committer | hq <hq@FreeBSD.org> | 2005-08-11 23:01:30 +0800 |
commit | 84deffa014073ec8c3204666c9849730ce46c446 (patch) | |
tree | 5727c2aadb53a0f6de99bfdea6fb572c1b6c2a93 /net-p2p | |
parent | 3f5aa1dc783b5797a873867f8fe0b822ae5c5da8 (diff) | |
download | freebsd-ports-gnome-84deffa014073ec8c3204666c9849730ce46c446.tar.gz freebsd-ports-gnome-84deffa014073ec8c3204666c9849730ce46c446.tar.zst freebsd-ports-gnome-84deffa014073ec8c3204666c9849730ce46c446.zip |
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)
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/mldonkey/Makefile | 5 |
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 |