mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
Upgrade from 0.22.0 to 0.22.1 (April 14th). Drop expat-dependency --
this port uses whatever www/neon provides. Loosen the neon-dependency -- don't require the exact version of -lneon. Don't extract the expat and libneon bundled with the cadaver -- to avoid #include-ing a wrong header accidentally. Patch some warnings.
This commit is contained in:
parent
c0150116c3
commit
a6de9bdd90
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=108406
@ -6,27 +6,31 @@
|
||||
#
|
||||
|
||||
PORTNAME= cadaver
|
||||
PORTVERSION= 0.22.0
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 0.22.1
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= http://www.webdav.org/cadaver/
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Commandline client for DAV
|
||||
|
||||
LIB_DEPENDS= expat.5:${PORTSDIR}/textproc/expat2 \
|
||||
neon.24:${PORTSDIR}/www/neon
|
||||
LIB_DEPENDS= neon:${PORTSDIR}/www/neon
|
||||
|
||||
USE_GETOPT_LONG= yes
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
||||
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
||||
CONFIGURE_ARGS= --enable-netrc \
|
||||
--with-expat
|
||||
CONFIGURE_ARGS= --enable-netrc
|
||||
ALL_TARGET= cadaver
|
||||
|
||||
MAN1= cadaver.1
|
||||
PLIST_FILES= bin/cadaver
|
||||
# Neither expat nor libneon are needed at all, but the configure
|
||||
# script breaks if it can not find the Makefile* in them. Exclude
|
||||
# them to be sure, a stray .h is not included instead of what's
|
||||
# found under PREFIX (installed by the neon port):
|
||||
EXTRACT_AFTER_ARGS= | ${TAR} -xf - \
|
||||
--exclude '${PORTNAME}-${PORTVERSION}/expat/*.[ch]' \
|
||||
--exclude '${PORTNAME}-${PORTVERSION}/libneon/*.[ch]'
|
||||
|
||||
CPPFLAGS= -I${LOCALBASE}/include
|
||||
LDFLAGS= -L${LOCALBASE}/lib
|
||||
|
@ -1,2 +1,2 @@
|
||||
MD5 (cadaver-0.22.0.tar.gz) = a46235f79b54f12c241d271edbc8be06
|
||||
SIZE (cadaver-0.22.0.tar.gz) = 442940
|
||||
MD5 (cadaver-0.22.1.tar.gz) = 21da0cbb5fb8f753926d0628e7f734b5
|
||||
SIZE (cadaver-0.22.1.tar.gz) = 441126
|
||||
|
9
www/cadaver/files/patch-warnings
Normal file
9
www/cadaver/files/patch-warnings
Normal file
@ -0,0 +1,9 @@
|
||||
--- src/cadaver.c Tue Apr 13 15:23:17 2004
|
||||
+++ src/cadaver.c Tue May 4 11:45:45 2004
|
||||
@@ -1015,5 +1015,5 @@
|
||||
(n==(len-1)?'>':' '));
|
||||
}
|
||||
- printf(_("] %5.1f%% of %ld bytes"), pc*100, total);
|
||||
+ printf(_("] %5.1f%% of %llu bytes"), pc*100, (unsigned long long)total);
|
||||
fflush(stdout);
|
||||
}
|
Loading…
Reference in New Issue
Block a user