summaryrefslogtreecommitdiff
path: root/net/ftplibpp/patches
diff options
context:
space:
mode:
authorcjep <cjep>2004-09-06 16:27:03 +0000
committercjep <cjep>2004-09-06 16:27:03 +0000
commitd1dce45c03416ccbe06e482f618c4e3de1bb7349 (patch)
tree1b19acfe37c45c459c97c79a9533bfab855a9c5c /net/ftplibpp/patches
parent5054e55b1e4d1a9b2da91f1e0fa93abdb1d5c67f (diff)
downloadpkgsrc-d1dce45c03416ccbe06e482f618c4e3de1bb7349.tar.gz
Initial import of ftplibpp version 1.0.1 as net/ftplibpp.
ftplibpp is a C++ class providing ftp client functionality. It is a direct derivate from the great ftplib C library by Thomas Pfau.
Diffstat (limited to 'net/ftplibpp/patches')
-rw-r--r--net/ftplibpp/patches/patch-aa36
1 files changed, 36 insertions, 0 deletions
diff --git a/net/ftplibpp/patches/patch-aa b/net/ftplibpp/patches/patch-aa
new file mode 100644
index 00000000000..c9c80c1a6dd
--- /dev/null
+++ b/net/ftplibpp/patches/patch-aa
@@ -0,0 +1,36 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/09/06 16:27:03 cjep Exp $
+
+--- Makefile.orig 2003-08-12 02:34:35.000000000 +0100
++++ Makefile
+@@ -3,6 +3,8 @@
+ SONAME = 1
+ SOVERSION = $(SONAME).0
+
++PREFIX?= /usr/local
++
+ #TARGETS = libftp.a libftp.so
+ TARGETS = libftp.so
+ OBJECTS = ftplib.o
+@@ -21,16 +23,16 @@ clean :
+ rm -f libftp.so.*
+
+ uninstall :
+- rm -f /usr/local/lib/libftp.so.*
+- rm -f /usr/local/include/libftp.h
++ rm -f ${PREFIX}/lib/libftp.so.*
++ rm -f ${PREFIX}/include/libftp.h
+
+ install : all
+- install -m 644 libftp.so.$(SOVERSION) /usr/local/lib
+- install -m 644 ftplib.h /usr/local/include
+- (cd /usr/local/lib && \
++ install -m 644 libftp.so.$(SOVERSION) ${PREFIX}/lib
++ install -m 644 ftplib.h ${PREFIX}/include
++ (cd ${PREFIX}/lib && \
+ ln -sf libftp.so.$(SOVERSION) libftp.so.$(SONAME) && \
+ ln -sf libftp.so.$(SONAME) libftp.so)
+-# -(cd /usr/local/bin && \
++# -(cd ${PREFIX}/bin && \
+ # for f in ftpdir ftpget ftplist ftprm ftpsend; \
+ # do ln -s qftp $$f; done)
+