svn commit: r543637 - head/net/rsync
Adam Weinberger
adamw at FreeBSD.org
Tue Jul 28 23:51:01 UTC 2020
Author: adamw
Date: Tue Jul 28 23:51:00 2020
New Revision: 543637
URL: https://svnweb.freebsd.org/changeset/ports/543637
Log:
rsync: Unbreak and fix depends
rsync now depends on stuff in LOCALBASE. Previously, clang only needed to know
about LOCALBASE if POPT or ICONV was enabled. When those options are off, xxhash
and zstd were not found by configure.
Also, a depend on libssl was missing, and there were some noop reinplaces.
With hat: portmgr
Modified:
head/net/rsync/Makefile
Modified: head/net/rsync/Makefile
==============================================================================
--- head/net/rsync/Makefile Tue Jul 28 22:22:00 2020 (r543636)
+++ head/net/rsync/Makefile Tue Jul 28 23:51:00 2020 (r543637)
@@ -19,7 +19,7 @@ LICENSE= GPLv3
LIB_DEPENDS= libxxhash.so:devel/xxhash \
libzstd.so:archivers/zstd
-USES= cpe shebangfix
+USES= cpe shebangfix ssl
SHEBANG_FILES= support/rrsync
CPE_VENDOR= samba
@@ -35,6 +35,8 @@ TEST_TARGET= check
CONFIGURE_ARGS= --disable-debug --enable-ipv6 \
--with-rsyncd-conf=${ETCDIR}/rsyncd.conf
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
PORTDOCS= NEWS.md README.md csprotocol.txt tech_report.tex
@@ -69,13 +71,9 @@ ACL_EXTRA_PATCHES= ${WRKSRC}/patches/acls.diff \
${FILESDIR}/extrapatch-acl
ICONV_USES= iconv:translit
-ICONV_CPPFLAGS= -I${LOCALBASE}/include
-ICONV_LDFLAGS= -L${LOCALBASE}/lib
ICONV_CONFIGURE_ENABLE= iconv iconv-open
POPT_PORT_LIB_DEPENDS= libpopt.so:devel/popt
-POPT_PORT_CPPFLAGS= -I${LOCALBASE}/include
-POPT_PORT_LDFLAGS= -L${LOCALBASE}/lib
POPT_PORT_CONFIGURE_OFF= --with-included-popt
@@ -100,9 +98,8 @@ CONFIGURE_ARGS+=ac_cv_search_libiconv_open=no
.endif
post-patch:
- @${REINPLACE_CMD} -e 's|perl.*|${DO_NADA}|' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e 's:/etc/:${ETCDIR}/:g' \
- ${WRKSRC}/rsync.h ${WRKSRC}/rsync.1 ${WRKSRC}/rsyncd.conf.5
+ ${WRKSRC}/rsync.1 ${WRKSRC}/rsyncd.conf.5
@${REINPLACE_CMD} -e 's|/usr/bin/rsync|${PREFIX}/bin/rsync|g' ${WRKSRC}/support/rrsync
post-install:
More information about the svn-ports-head
mailing list