aboutsummaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorFlorent Thoumie <flz@FreeBSD.org>2005-11-25 17:12:46 +0000
committerFlorent Thoumie <flz@FreeBSD.org>2005-11-25 17:12:46 +0000
commit31eaf476dc810936ea076a33c75f42a84e8ff6e0 (patch)
tree95486f0b6385b197e6b20052527e21cffa65e221 /ftp
parent056eb71013da92fb0cf38baeb70bd22a2952a0ac (diff)
downloadports-31eaf476dc810936ea076a33c75f42a84e8ff6e0.tar.gz
ports-31eaf476dc810936ea076a33c75f42a84e8ff6e0.zip
- Fix compilation issue on 4.x.
- Remove .la libtool file. PR: ports/89537 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=149447
Diffstat (limited to 'ftp')
-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 ff5393b8f814..e6ac32791dd3 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 7f883792c4f8..d78d6635cc96 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 000000000000..c0961404d420
--- /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 893b3e27e31a..2bb7ee08f8f8 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