mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-21 08:42:23 +00:00
The xz utils and lzma library have been imported into base, so make
the dependency on the archivers/xz port conditional on OSVERSION. Approved by: MAINTAINER
This commit is contained in:
parent
511276e032
commit
832fb3aa95
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=254737
@ -37,7 +37,7 @@ OPTIONS= PRINTER_APPLET "Install printer system tray utility" off
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OSVERSION} < 900012
|
||||
.if ${OSVERSION} < 800505 || (${OSVERSION} >= 900000 && ${OSVERSION} < 900012)
|
||||
LIB_DEPENDS+= lzma.0:${PORTSDIR}/archivers/xz
|
||||
.endif
|
||||
|
||||
|
@ -20,7 +20,6 @@ RUN_DEPENDS= arc:${PORTSDIR}/archivers/arc \
|
||||
arj:${PORTSDIR}/archivers/arj \
|
||||
cabextract:${PORTSDIR}/archivers/cabextract \
|
||||
dpkg:${PORTSDIR}/archivers/dpkg \
|
||||
lzma:${PORTSDIR}/archivers/xz \
|
||||
lzop:${PORTSDIR}/archivers/lzop \
|
||||
7z:${PORTSDIR}/archivers/p7zip \
|
||||
rpm:${PORTSDIR}/archivers/rpm \
|
||||
@ -48,4 +47,10 @@ do-install:
|
||||
.endfor
|
||||
@cd ${WRKDIR}/${PORTNAME}-archive-1.5.1/ && ${CP} -pPR * ${DATADIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 800505 || (${OSVERSION} >= 900000 && ${OSVERSION} < 900012)
|
||||
RUN_DEPENDS+= lzma:${PORTSDIR}/archivers/xz
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -37,7 +37,7 @@ OPTIONS= PRINTER_APPLET "Install printer system tray utility" off
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OSVERSION} < 900012
|
||||
.if ${OSVERSION} < 800505 || (${OSVERSION} >= 900000 && ${OSVERSION} < 900012)
|
||||
LIB_DEPENDS+= lzma.0:${PORTSDIR}/archivers/xz
|
||||
.endif
|
||||
|
||||
|
@ -37,7 +37,7 @@ OPTIONS= PRINTER_APPLET "Install printer system tray utility" off
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OSVERSION} < 900012
|
||||
.if ${OSVERSION} < 800505 || (${OSVERSION} >= 900000 && ${OSVERSION} < 900012)
|
||||
LIB_DEPENDS+= lzma.0:${PORTSDIR}/archivers/xz
|
||||
.endif
|
||||
|
||||
|
@ -37,7 +37,7 @@ OPTIONS= PRINTER_APPLET "Install printer system tray utility" off
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OSVERSION} < 900012
|
||||
.if ${OSVERSION} < 800505 || (${OSVERSION} >= 900000 && ${OSVERSION} < 900012)
|
||||
LIB_DEPENDS+= lzma.0:${PORTSDIR}/archivers/xz
|
||||
.endif
|
||||
|
||||
|
@ -37,7 +37,7 @@ OPTIONS= PRINTER_APPLET "Install printer system tray utility" off
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OSVERSION} < 900012
|
||||
.if ${OSVERSION} < 800505 || (${OSVERSION} >= 900000 && ${OSVERSION} < 900012)
|
||||
LIB_DEPENDS+= lzma.0:${PORTSDIR}/archivers/xz
|
||||
.endif
|
||||
|
||||
|
@ -37,7 +37,7 @@ OPTIONS= PRINTER_APPLET "Install printer system tray utility" off
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OSVERSION} < 900012
|
||||
.if ${OSVERSION} < 800505 || (${OSVERSION} >= 900000 && ${OSVERSION} < 900012)
|
||||
LIB_DEPENDS+= lzma.0:${PORTSDIR}/archivers/xz
|
||||
.endif
|
||||
|
||||
|
@ -37,7 +37,7 @@ OPTIONS= PRINTER_APPLET "Install printer system tray utility" off
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OSVERSION} < 900012
|
||||
.if ${OSVERSION} < 800505 || (${OSVERSION} >= 900000 && ${OSVERSION} < 900012)
|
||||
LIB_DEPENDS+= lzma.0:${PORTSDIR}/archivers/xz
|
||||
.endif
|
||||
|
||||
|
@ -37,7 +37,7 @@ OPTIONS= PRINTER_APPLET "Install printer system tray utility" off
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OSVERSION} < 900012
|
||||
.if ${OSVERSION} < 800505 || (${OSVERSION} >= 900000 && ${OSVERSION} < 900012)
|
||||
LIB_DEPENDS+= lzma.0:${PORTSDIR}/archivers/xz
|
||||
.endif
|
||||
|
||||
|
@ -37,7 +37,7 @@ OPTIONS= PRINTER_APPLET "Install printer system tray utility" off
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OSVERSION} < 900012
|
||||
.if ${OSVERSION} < 800505 || (${OSVERSION} >= 900000 && ${OSVERSION} < 900012)
|
||||
LIB_DEPENDS+= lzma.0:${PORTSDIR}/archivers/xz
|
||||
.endif
|
||||
|
||||
|
@ -37,7 +37,7 @@ OPTIONS= PRINTER_APPLET "Install printer system tray utility" off
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OSVERSION} < 900012
|
||||
.if ${OSVERSION} < 800505 || (${OSVERSION} >= 900000 && ${OSVERSION} < 900012)
|
||||
LIB_DEPENDS+= lzma.0:${PORTSDIR}/archivers/xz
|
||||
.endif
|
||||
|
||||
|
@ -14,8 +14,7 @@ MASTER_SITES= ftp://ftp.pcbsd.org/pub/software/ \
|
||||
MAINTAINER= kmoore@freebsd.org
|
||||
COMMENT= PC-BSD's Jail Management Utility
|
||||
|
||||
RUN_DEPENDS= pbreg:${PORTSDIR}/sysutils/pbreg \
|
||||
xz:${PORTSDIR}/archivers/xz
|
||||
RUN_DEPENDS= pbreg:${PORTSDIR}/sysutils/pbreg
|
||||
|
||||
WRKSRC= ${WRKDIR}/warden
|
||||
|
||||
@ -42,4 +41,10 @@ do-configure:
|
||||
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
|
||||
${QMAKE} -unix CONFIG+="configure" ${QMAKE_PRO}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 800505 || (${OSVERSION} >= 900000 && ${OSVERSION} < 900012)
|
||||
RUN_DEPENDS+= xz:${PORTSDIR}/archivers/xz
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -40,7 +40,7 @@ CMAKE_ARGS+= -DWITH_ALSA:BOOL=OFF
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OSVERSION} < 900012
|
||||
.if ${OSVERSION} < 800505 || (${OSVERSION} >= 900000 && ${OSVERSION} < 900012)
|
||||
LIB_DEPENDS+= lzma.0:${PORTSDIR}/archivers/xz
|
||||
.endif
|
||||
|
||||
|
@ -40,7 +40,7 @@ CMAKE_ARGS+= -DWITH_ALSA:BOOL=OFF
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OSVERSION} < 900012
|
||||
.if ${OSVERSION} < 800505 || (${OSVERSION} >= 900000 && ${OSVERSION} < 900012)
|
||||
LIB_DEPENDS+= lzma.0:${PORTSDIR}/archivers/xz
|
||||
.endif
|
||||
|
||||
|
@ -82,7 +82,7 @@ MAN8= kbuildsycoca4.8 \
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 900012
|
||||
.if ${OSVERSION} < 800505 || (${OSVERSION} >= 900000 && ${OSVERSION} < 900012)
|
||||
LIB_DEPENDS+= lzma.0:${PORTSDIR}/archivers/xz
|
||||
.endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user