1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

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)
This commit is contained in:
Herve Quiroz 2005-08-11 15:01:30 +00:00
parent 69f79551f5
commit ad694c3363
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=140848
2 changed files with 8 additions and 2 deletions

View File

@ -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

View File

@ -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