mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
archivers/xz is in base for all versions and has been removed from the ports tree
This commit is contained in:
parent
8472a0736b
commit
a50d9328b5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=339572
@ -48,10 +48,4 @@ do-install:
|
||||
.endfor
|
||||
@cd ${WRKDIR}/${PORTNAME}-archive-1.6/x/ && ${CP} -PR * ${DATADIR}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 800505 || (${OSVERSION} >= 900000 && ${OSVERSION} < 900012)
|
||||
RUN_DEPENDS+= lzma:${PORTSDIR}/archivers/xz
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -103,13 +103,7 @@ USE_OPENSSL= yes
|
||||
CONFIGURE_ARGS+= --with-openssl --without-nettle
|
||||
.endif
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 800505 || (${OSVERSION} >= 900000 && ${OSVERSION} < 900012)
|
||||
LIB_DEPENDS+= lzma:${PORTSDIR}/archivers/xz
|
||||
.endif
|
||||
|
||||
check:
|
||||
(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} check)
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -21,23 +21,13 @@ USES= perl5
|
||||
|
||||
LZMA_DEPEND?= sys
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if (${ARCH} == "sparc64")
|
||||
LZMA_DEPEND= xz
|
||||
.endif
|
||||
|
||||
.if ${LZMA_DEPEND} == "lzmalib"
|
||||
LIB_DEPENDS+= liblzma.so.1:${PORTSDIR}/archivers/lzmalib
|
||||
.endif
|
||||
|
||||
.if ${LZMA_DEPEND} == "xz"
|
||||
LIB_DEPENDS+= liblzma.so.5:${PORTSDIR}/archivers/xz
|
||||
.endif
|
||||
|
||||
pre-build:
|
||||
.if ${LZMA_DEPEND} == "sys"
|
||||
@${REINPLACE_CMD} -e "/^LDDLFLAGS/ s|${LOCALBASE}/lib|${LIBDIR}|" ${WRKSRC}/Makefile
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -16,16 +16,8 @@ SUB_FILES= Makefile
|
||||
PLIST_FILES= bin/${PORTNAME} man/man1/pixz.1.gz
|
||||
MAKE_ENV+= PTHREAD_LIBS=${PTHREAD_LIBS}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 800505 || (${OSVERSION} >= 900000 && ${OSVERSION} < 900012)
|
||||
LIB_DEPENDS+= liblzma.so:${PORTSDIR}/archivers/xz
|
||||
CFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
.endif
|
||||
|
||||
post-extract: apply-slist
|
||||
${INSTALL_DATA} ${WRKDIR}/Makefile ${WRKSRC}
|
||||
${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.1 ${WRKSRC}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -21,17 +21,11 @@ USE_PYTHON= yes
|
||||
USE_PYDISTUTILS= yes
|
||||
PYDISTUTILS_AUTOPLIST= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 800505 || (${OSVERSION} >= 900000 && ${OSVERSION} < 900012)
|
||||
LIB_DEPENDS+= liblzma.so:${PORTSDIR}/archivers/xz
|
||||
.else
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's/pc_cflags = .*/pc_cflags = ""/' \
|
||||
-e 's/pc_libs = .*/pc_libs = "-llzma"/' ${WRKSRC}/setup.py
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/lzma.so
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -29,12 +29,6 @@ PLIST_FILES= bin/tardy man/man1/tardy.1.gz
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 800505 || (${OSVERSION} >= 900000 && ${OSVERSION} < 900012)
|
||||
BUILD_DEPENDS+= lzma:${PORTSDIR}/archivers/xz
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
.for var in CFLAGS LDFLAGS
|
||||
@${REINPLACE_CMD} -e 's|^\(${var}\)\ =\ \(.*\)|\1 ?= \2|' \
|
||||
@ -47,4 +41,4 @@ do-install:
|
||||
${INSTALL_MAN} ${WRKSRC}/man/man1/${PORTNAME}.1 \
|
||||
${STAGEDIR}${MANPREFIX}/man/man1
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -28,10 +28,4 @@ post-patch:
|
||||
regression-test test: build
|
||||
cd ${WRKSR}/ && ${SETENV} ${MAKE_ENV} ${MAKE} check
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if (${OSVERSION} >= 900000 && ${OSVERSION} < 900012) || ${OSVERSION} < 800505
|
||||
LIB_DEPENDS+= lzma:${PORTSDIR}/archivers/xz
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -28,19 +28,8 @@ MAKE_ARGS+= INSTALL_AS_USER=yes
|
||||
.endif
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ( (${OSVERSION} >= 900000 && ${OSVERSION} < 900012) || ${OSVERSION} < 800505 )
|
||||
EXTRACT_DEPENDS=${LOCALBASE}/bin/xz:${PORTSDIR}/archivers/xz
|
||||
EXTRACT_ONLY= mingwrt-${RUNTIMEVERSION}-mingw32-dev${EXTRACT_SUFX} \
|
||||
mingwrt-${RUNTIMEVERSION}-mingw32-dll${EXTRACT_SUFX}
|
||||
.endif
|
||||
|
||||
post-extract:
|
||||
@${CP} ${FILESDIR}/Makefile ${WRKDIR}
|
||||
.if ( (${OSVERSION} >= 900000 && ${OSVERSION} < 900012) || ${OSVERSION} < 800505 )
|
||||
@cd ${WRKDIR} && xzcat \
|
||||
${_DISTDIR}/w32api-${APIVERSION}-mingw32-dev.tar.lzma | ${TAR} -xf -
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -88,13 +88,9 @@ post-patch:
|
||||
@${REINPLACE_CMD} -e '/-O2 -fomit-frame-pointer/d ; \
|
||||
s,/usr/local,${LOCALBASE},' ${WRKSRC}/config.lib
|
||||
# Use custom liblzma.pc for when we use liblzma from base
|
||||
.if ${OSVERSION} >= 900012 || (${OSVERSION} >= 800505 && ${OSVERSION} < 900000)
|
||||
@${REINPLACE_CMD} -e \
|
||||
's,pkg-config liblzma,pkg-config ${FILESDIR}/liblzma.pc,' \
|
||||
${WRKSRC}/config.lib
|
||||
.else
|
||||
LIB_DEPENDS+= liblzma.so:${PORTSDIR}/archivers/xz
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
||||
|
@ -28,10 +28,6 @@ PLIST_FILES= lib/openvpn-auth-ldap.so
|
||||
OPTIONS_DEFINE= DOCS EXAMPLES
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if (${OSVERSION} >= 900000 && ${OSVERSION} < 900012) || ${OSVERSION} < 800505
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/bin/xz:${PORTSDIR}/archivers/xz
|
||||
.endif
|
||||
|
||||
.if ${OSVERSION} >= 900000
|
||||
# Use gcc from ports because Objective C support no longer included in base
|
||||
# and the GNU Objective-C runtime is required, lang/libobjc2 + clang
|
||||
|
@ -37,9 +37,6 @@ PORTDOCS= ACKNOWLEDGEMENTS CHANGES COPYING \
|
||||
|
||||
.if ${PORT_OPTIONS:MXZ}
|
||||
MAKE_ARGS+= XZ_SUPPORT=1
|
||||
.if ${OSVERSION} < 900012 && ${OSVERSION} < 800505
|
||||
LIB_DEPENDS+= lzma.5:${PORTSDIR}/archivers/xz
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MLZO}
|
||||
|
@ -43,13 +43,6 @@ CONFLICTS= gnugrep-*
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if !(${OSVERSION} >= 900012 || (${OSVERSION} < 900000 && ${OSVERSION} >= 800505))
|
||||
LIB_DEPENDS+= lzma.5:${PORTSDIR}/archivers/xz
|
||||
CFLAGS+= -I${PREFIX}/include
|
||||
LDFLAGS+= -L${PREFIX}/lib
|
||||
BROKEN= overwrites files installed by dependency
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MNLS}
|
||||
PLIST_SUB+= NLS=""
|
||||
.else
|
||||
|
@ -20,12 +20,7 @@ ACLOCAL_ARGS+= -I ${ACLOCAL_DIR}
|
||||
AUTOMAKE_ARGS+= --add-missing
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= LZMA_LIBS=-llzma
|
||||
.if exists(/usr/include/lzma.h)
|
||||
CONFIGURE_ARGS+= LZMA_CFLAGS=-I/usr/include
|
||||
.else
|
||||
LIB_DEPENDS+= liblzma.so:${PORTSDIR}/archivers/xz
|
||||
CONFIGURE_ARGS+= LZMA_CFLAGS=-I${LOCALBASE}/include
|
||||
.endif
|
||||
USE_AUTOTOOLS= aclocal autoconf autoheader automake
|
||||
USES= pkgconfig
|
||||
|
||||
|
@ -43,10 +43,6 @@ NO_STAGE= yes
|
||||
#CIPHERSTRING must be a valid OpenSSL cipher string(see ciphers(1)):
|
||||
CIPHERSTRING?= HIGH:!SSLv2:!aNULL:!eNULL:@STRENGTH
|
||||
|
||||
.if ${OSVERSION} < 800505 || (${OSVERSION} >= 900000 && ${OSVERSION} < 900012)
|
||||
LIB_DEPENDS+= liblzma.so:${PORTSDIR}/archivers/xz
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MDIRECTFB} || ${PORT_OPTIONS:MSVGALIB} || ${PORT_OPTIONS:MX11}
|
||||
LIB_DEPENDS+= libpng.so:${PORTSDIR}/graphics/png \
|
||||
libjpeg.so:${PORTSDIR}/graphics/jpeg \
|
||||
|
@ -71,10 +71,6 @@ RUN_DEPENDS+= zeitgeist-daemon:${PORTSDIR}/sysutils/zeitgeist
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 800505 || (${OSVERSION} >= 900000 && ${OSVERSION} < 900012)
|
||||
LIB_DEPENDS+= lzma:${PORTSDIR}/archivers/xz
|
||||
.endif
|
||||
|
||||
.if ${KDE4_PREFIX} != ${LOCALBASE}
|
||||
PLIST_SUB+= HACK=""
|
||||
.else
|
||||
|
@ -84,10 +84,6 @@ AVAHI_DESC= Use Avahi's mDNSResponder (otherwise Apple's)
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 800505 || (${OSVERSION} >= 900000 && ${OSVERSION} < 900012)
|
||||
LIB_DEPENDS+= lzma.5:${PORTSDIR}/archivers/xz
|
||||
.endif
|
||||
|
||||
.if ${OSVERSION} < 900004
|
||||
LIB_DEPENDS+= utempter:${PORTSDIR}/sysutils/libutempter
|
||||
EXTRA_PATCHES= ${FILESDIR}/extra-patch-ConfigureChecks.cmake
|
||||
|
Loading…
Reference in New Issue
Block a user