mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
o) Support new ports OPTIONS mechanism for persistent build options.
This commit is contained in:
parent
fe6254122a
commit
8095c6b9fe
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=100408
@ -36,6 +36,11 @@ CONFIGURE_ARGS= --with-tcp-wrappers=/usr/lib \
|
||||
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
|
||||
|
||||
OPTIONS= CLIENT_ONLY "Build bacule file daemon only" off
|
||||
OPTIONS+= MYSQL "Build for MySQL database instead of SqLite" off
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
# Default is full build with sqlite
|
||||
.if defined(WITH_CLIENT_ONLY)
|
||||
CONFIGURE_ARGS+= --enable-client-only
|
||||
@ -54,8 +59,6 @@ PLIST_SUB+= DBTYPE=${DBTYPE}
|
||||
PLIST_SUB+= SERVER=""
|
||||
.endif
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
PORTDOCS= bacula.pdf html-manual/*
|
||||
|
||||
pre-everything::
|
||||
@ -65,7 +68,7 @@ pre-everything::
|
||||
@${ECHO_MSG} "===> of data at the end of an tape. This is corrected in FreeBSD"
|
||||
@${ECHO_MSG} "===> 4.9-RELEASE and 5.2-RELEASE or use the -stable or -current tree."
|
||||
@${ECHO_MSG} ""
|
||||
@${ECHO_MSG} "You may use the following build options:"
|
||||
@${ECHO_MSG} "You may use the following build options (or make config):"
|
||||
@${ECHO_MSG} ""
|
||||
@${ECHO_MSG} " WITH_CLIENT_ONLY=yes if you only want the file daemon."
|
||||
.if !defined(WITH_MYSQL)
|
||||
|
@ -36,6 +36,11 @@ CONFIGURE_ARGS= --with-tcp-wrappers=/usr/lib \
|
||||
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
|
||||
|
||||
OPTIONS= CLIENT_ONLY "Build bacule file daemon only" off
|
||||
OPTIONS+= MYSQL "Build for MySQL database instead of SqLite" off
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
# Default is full build with sqlite
|
||||
.if defined(WITH_CLIENT_ONLY)
|
||||
CONFIGURE_ARGS+= --enable-client-only
|
||||
@ -54,8 +59,6 @@ PLIST_SUB+= DBTYPE=${DBTYPE}
|
||||
PLIST_SUB+= SERVER=""
|
||||
.endif
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
PORTDOCS= bacula.pdf html-manual/*
|
||||
|
||||
pre-everything::
|
||||
@ -65,7 +68,7 @@ pre-everything::
|
||||
@${ECHO_MSG} "===> of data at the end of an tape. This is corrected in FreeBSD"
|
||||
@${ECHO_MSG} "===> 4.9-RELEASE and 5.2-RELEASE or use the -stable or -current tree."
|
||||
@${ECHO_MSG} ""
|
||||
@${ECHO_MSG} "You may use the following build options:"
|
||||
@${ECHO_MSG} "You may use the following build options (or make config):"
|
||||
@${ECHO_MSG} ""
|
||||
@${ECHO_MSG} " WITH_CLIENT_ONLY=yes if you only want the file daemon."
|
||||
.if !defined(WITH_MYSQL)
|
||||
|
Loading…
Reference in New Issue
Block a user