diff --git a/ftp/ftpcopy/Makefile b/ftp/ftpcopy/Makefile index b5b4e74f01e7..f26473ace17d 100644 --- a/ftp/ftpcopy/Makefile +++ b/ftp/ftpcopy/Makefile @@ -1,41 +1,37 @@ PORTNAME= ftpcopy PORTVERSION= 0.6.7 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= ftp MASTER_SITES= http://www.ohse.de/uwe/ftpcopy/ MAINTAINER= mandree@FreeBSD.org COMMENT= Command line FTP tools for listing and mirroring WWW= https://www.ohse.de/uwe/ftpcopy.html LICENSE= GPLv2 USES= perl5 USE_PERL5= build WRKSRC= ${WRKDIR}/web/${DISTNAME} OPTIONS_DEFINE= DOCS .include -.if ${ARCH} != amd64 && ${ARCH} != i386 -USES+= compiler:gcc-c++11-lib -.endif - pre-build: ${ECHO} "${CC}" >${WRKSRC}/src/conf-cc ${ECHO} "${CPPFLAGS} ${CFLAGS}" >${WRKSRC}/src/conf-cflags ${ECHO} "${LDFLAGS}" >${WRKSRC}/src/conf-ldflags do-install: cd ${WRKSRC}/compile && \ ${INSTALL_PROGRAM} ftpcopy ftpls ${STAGEDIR}${PREFIX}/bin && \ ${INSTALL_MAN} *.1 ${STAGEDIR}${PREFIX}/share/man/man1 && \ ${INSTALL_SCRIPT} ftpcp ${STAGEDIR}${PREFIX}/bin ${MKDIR} ${STAGEDIR}${DOCSDIR} && \ cd ${WRKSRC}/compile && \ ${INSTALL_DATA} ChangeLog NEWS \ README THANKS ftpcopy.html ftpls.html ${STAGEDIR}${DOCSDIR} .include diff --git a/ftp/ftpcopy/distinfo b/ftp/ftpcopy/distinfo index b0ec85e19b93..22b356a3f53a 100644 --- a/ftp/ftpcopy/distinfo +++ b/ftp/ftpcopy/distinfo @@ -1,2 +1,3 @@ +TIMESTAMP = 1767353840 SHA256 (ftpcopy-0.6.7.tar.gz) = ab5369e1873c50b3370f40bf6cd02b7fb858e05e77eea4c9fda0c025629f2ca3 SIZE (ftpcopy-0.6.7.tar.gz) = 134956 diff --git a/ftp/ftpcopy/files/patch-src_attributes.h b/ftp/ftpcopy/files/patch-src_attributes.h new file mode 100644 index 000000000000..c71626623fa0 --- /dev/null +++ b/ftp/ftpcopy/files/patch-src_attributes.h @@ -0,0 +1,11 @@ +--- src/attributes.h.orig 2004-07-27 11:27:56 UTC ++++ src/attributes.h +@@ -67,7 +67,7 @@ + + #define attribute_inline __inline__ + +-#if GNUC_MINIMUM(2,7) /* doesn't work reliable before, IIRC */ ++#if 0 + # define attribute_regparm(x) __attribute__((__regparm__((x)))) + #else + # define attribute_regparm(x) diff --git a/ftp/ftpcopy/files/patch-src_typesize.sh b/ftp/ftpcopy/files/patch-src_typesize.sh index 03f16e48a255..94eede5b8f1a 100644 --- a/ftp/ftpcopy/files/patch-src_typesize.sh +++ b/ftp/ftpcopy/files/patch-src_typesize.sh @@ -1,11 +1,11 @@ ---- src/typesize.sh.orig Tue Jul 27 13:24:17 2004 -+++ src/typesize.sh Thu Aug 19 18:30:43 2004 -@@ -21,7 +21,7 @@ +--- src/typesize.sh.orig 2004-07-27 11:24:17 UTC ++++ src/typesize.sh +@@ -21,7 +21,7 @@ for i in "short" "int" "long " "unsigned short" "unsig : else x=$? - p=`echo $i | sed 's/ /_/g' | tr "[a-z]]" "[A-Z]"` + p=`echo $i | sed 's/ /_/g' | tr "[:lower:]" "[:upper:]"` echo "#define SIZEOF_$p $x /* systype-info */" fi fi