summaryrefslogtreecommitdiffstats
path: root/ftp/prozilla
diff options
context:
space:
mode:
authorflz <flz@FreeBSD.org>2005-11-25 17:12:46 +0000
committerflz <flz@FreeBSD.org>2005-11-25 17:12:46 +0000
commit2bafb224662c8119e07cd08e4b25023ce74330a7 (patch)
tree9e7f482733ca8c19f36dacafda9742c82a7f0c30 /ftp/prozilla
parentd73faf63635e5fff815e9f8e744df85a8ac48ed2 (diff)
downloadFreeBSD-ports-2bafb224662c8119e07cd08e4b25023ce74330a7.zip
FreeBSD-ports-2bafb224662c8119e07cd08e4b25023ce74330a7.tar.gz
- Fix compilation issue on 4.x.
- Remove .la libtool file. PR: ports/89537 Submitted by: maintainer
Diffstat (limited to 'ftp/prozilla')
-rw-r--r--ftp/prozilla/Makefile4
-rw-r--r--ftp/prozilla/files/patch-libprozilla_ltmain.sh (renamed from ftp/prozilla/files/patch-ltmain.sh)9
-rw-r--r--ftp/prozilla/files/patch-src_interface.c18
-rw-r--r--ftp/prozilla/pkg-plist1
4 files changed, 24 insertions, 8 deletions
diff --git a/ftp/prozilla/Makefile b/ftp/prozilla/Makefile
index ff5393b..e6ac327 100644
--- a/ftp/prozilla/Makefile
+++ b/ftp/prozilla/Makefile
@@ -16,16 +16,16 @@ COMMENT= ProZilla is a fast download accelerator
USE_BZIP2= yes
USE_GETOPT_LONG=yes
USE_GMAKE= yes
-USE_LIBTOOL_VER=15
USE_REINPLACE= yes
+GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
MAN1= proz.1
post-patch:
- ${REINPLACE_CMD} -e 's|CPPFLAGS =|CPPFLAGS = @CPPFLAGS@|' \
+ @${REINPLACE_CMD} -e 's|CPPFLAGS =|CPPFLAGS = @CPPFLAGS@|' \
${WRKSRC}/libprozilla/src/Makefile.in
.include <bsd.port.mk>
diff --git a/ftp/prozilla/files/patch-ltmain.sh b/ftp/prozilla/files/patch-libprozilla_ltmain.sh
index 7f88379..d78d663 100644
--- a/ftp/prozilla/files/patch-ltmain.sh
+++ b/ftp/prozilla/files/patch-libprozilla_ltmain.sh
@@ -1,11 +1,10 @@
---- ltmain.sh.orig Wed Nov 2 13:02:43 2005
-+++ ltmain.sh Thu Nov 10 16:33:44 2005
-@@ -5771,11 +5771,13 @@
- IFS="$save_ifs"
+--- libprozilla/ltmain.sh.orig Fri Jan 28 12:29:23 2005
++++ libprozilla/ltmain.sh Fri Nov 25 13:05:58 2005
+@@ -5620,10 +5620,12 @@
fi
-+ if /usr/bin/false; then
# Install the pseudo-library for information purposes.
++ if /usr/bin/false; then
name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
instname="$dir/$name"i
$show "$install_prog $instname $destdir/$name"
diff --git a/ftp/prozilla/files/patch-src_interface.c b/ftp/prozilla/files/patch-src_interface.c
new file mode 100644
index 0000000..c096140
--- /dev/null
+++ b/ftp/prozilla/files/patch-src_interface.c
@@ -0,0 +1,18 @@
+--- src/interface.c.orig Thu Nov 3 23:18:15 2005
++++ src/interface.c Fri Nov 25 12:54:48 2005
+@@ -281,6 +281,7 @@
+ char buf[1000];
+ int i = 0;
+ int line = 1;
++ int secs_left;
+
+ // erase();
+ refresh();
+@@ -338,7 +339,6 @@
+ current_dl_speed , proz_download_get_average_speed(download) / 1024);
+ mvprintw(line++,1, buf);
+ clrtoeol();
+- int secs_left;
+
+ if ((secs_left = proz_download_get_est_time_left(download)) != -1)
+ {
diff --git a/ftp/prozilla/pkg-plist b/ftp/prozilla/pkg-plist
index 893b3e2..2bb7ee0 100644
--- a/ftp/prozilla/pkg-plist
+++ b/ftp/prozilla/pkg-plist
@@ -3,7 +3,6 @@ include/common.h
include/netrc.h
include/prozilla.h
lib/libprozilla.a
-lib/libprozilla.la
share/locale/fr/LC_MESSAGES/proz.mo
share/locale/it/LC_MESSAGES/.mo
share/locale/it/LC_MESSAGES/proz.mo
OpenPOWER on IntegriCloud