1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-20 08:27:15 +00:00

Fix building of bindings in BATCH mode (without options file at all):

invert checks such way, that default config without OPTIONS at all is equivalent
to default config, specified via OPTIONS.
This commit is contained in:
Lev A. Serebryakov 2008-07-08 09:25:16 +00:00
parent 62e1e21b6f
commit f2a96f4017
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=216516
2 changed files with 10 additions and 6 deletions

View File

@ -6,7 +6,7 @@
PORTNAME= subversion
PORTVERSION= 1.5.0
PORTREVISION?= 2
PORTREVISION?= 3
CATEGORIES+= devel
MASTER_SITES= http://subversion.tigris.org/downloads/:main \
http://svnbook.red-bean.com/en/1.4/:book
@ -31,7 +31,8 @@ OPTIONS=
CONFIGURE_ARGS+= --without-swig
.if defined(WITH_NEON)
# Default is "on"
.if !defined(WITHOUT_NEON)
LIB_DEPENDS+= neon.28:${PORTSDIR}/www/neon28
CONFIGURE_ARGS+= --with-neon=${LOCALBASE}
PLIST_SUB+= NEON=""
@ -57,7 +58,8 @@ CONFIGURE_ARGS+= --without-sasl
PLIST_SUB+= SASL="@comment "
.endif
.if defined(WITH_BDB)
# Default us "on"
.if !defined(WITHOUT_BDB)
PLIST_SUB+= BDB=""
.else
CONFIGURE_ARGS+= --without-berkeley-db

View File

@ -6,7 +6,7 @@
PORTNAME= subversion
PORTVERSION= 1.5.0
PORTREVISION?= 2
PORTREVISION?= 3
CATEGORIES+= devel
MASTER_SITES= http://subversion.tigris.org/downloads/:main \
http://svnbook.red-bean.com/en/1.4/:book
@ -31,7 +31,8 @@ OPTIONS=
CONFIGURE_ARGS+= --without-swig
.if defined(WITH_NEON)
# Default is "on"
.if !defined(WITHOUT_NEON)
LIB_DEPENDS+= neon.28:${PORTSDIR}/www/neon28
CONFIGURE_ARGS+= --with-neon=${LOCALBASE}
PLIST_SUB+= NEON=""
@ -57,7 +58,8 @@ CONFIGURE_ARGS+= --without-sasl
PLIST_SUB+= SASL="@comment "
.endif
.if defined(WITH_BDB)
# Default us "on"
.if !defined(WITHOUT_BDB)
PLIST_SUB+= BDB=""
.else
CONFIGURE_ARGS+= --without-berkeley-db