mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Switch bacula9-bat to use bacula9-server as MASTERPORT
In the master port, adjust the PKGNAMESUFFIX for bat to be 9-bat This allows bacula9-bat to build
This commit is contained in:
parent
ac40d34094
commit
d6aaca08db
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=449035
2 changed files with 3 additions and 3 deletions
|
@ -7,7 +7,7 @@ PKGNAMESUFFIX= 9-bat
|
|||
COMMENT= Network backup solution (GUI)
|
||||
|
||||
LIB_DEPENDS+= libqwt.so:x11-toolkits/qwt5 \
|
||||
libbac.so:sysutils/bacula-client
|
||||
libbac.so:sysutils/bacula9-client
|
||||
|
||||
USES= pkgconfig
|
||||
USE_QT4= qmake_build uic_build moc_build rcc_build
|
||||
|
@ -16,7 +16,7 @@ WITH_BAT= yes
|
|||
PLIST= ${.CURDIR}/pkg-plist
|
||||
MAKE_ENV+= MAKEOBJDIRPREFIX=/
|
||||
|
||||
MASTERDIR= ${.CURDIR}/../../sysutils/bacula-server
|
||||
MASTERDIR= ${.CURDIR}/../../sysutils/bacula9-server
|
||||
|
||||
CONFIGURE_ARGS+= --enable-bat \
|
||||
--with-qwt=${LOCALBASE}/lib \
|
||||
|
|
|
@ -6,7 +6,7 @@ post-build:
|
|||
.endif
|
||||
|
||||
do-install:
|
||||
.if ${PKGNAMESUFFIX} == "-bat"
|
||||
.if ${PKGNAMESUFFIX} == "9-bat"
|
||||
# Install config files and preserve existing ones
|
||||
${MKDIR} ${STAGEDIR}${ETCDIR}
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/src/qt-console/bat.conf ${STAGEDIR}${PREFIX}/etc/bacula/bat.conf.sample
|
||||
|
|
Loading…
Add table
Reference in a new issue