aboutsummaryrefslogtreecommitdiff
path: root/sysutils/fusefs-s3fs
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2014-03-04 22:02:51 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2014-03-04 22:02:51 +0000
commit7b7e8ecfabe0d2e285e4e12f45bf06bcbfdbce7e (patch)
tree614425915d137139bb301beeb52726fbfe7da596 /sysutils/fusefs-s3fs
parent8c9c9cd13110db5124c3cbbd13fd7918f62dab44 (diff)
downloadports-7b7e8ecfabe0d2e285e4e12f45bf06bcbfdbce7e.tar.gz
ports-7b7e8ecfabe0d2e285e4e12f45bf06bcbfdbce7e.zip
Notes
Diffstat (limited to 'sysutils/fusefs-s3fs')
-rw-r--r--sysutils/fusefs-s3fs/Makefile15
-rw-r--r--sysutils/fusefs-s3fs/files/patch-src-curl.cpp11
2 files changed, 17 insertions, 9 deletions
diff --git a/sysutils/fusefs-s3fs/Makefile b/sysutils/fusefs-s3fs/Makefile
index 7bb27e459d62..90af1bf72e07 100644
--- a/sysutils/fusefs-s3fs/Makefile
+++ b/sysutils/fusefs-s3fs/Makefile
@@ -11,20 +11,17 @@ PKGNAMEPREFIX= fusefs-
MAINTAINER= gslin@gslin.org
COMMENT= FUSE-based file system backed by Amazon S3
-LIB_DEPENDS= curl:${PORTSDIR}/ftp/curl \
- xml2:${PORTSDIR}/textproc/libxml2
+LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl \
+ libxml2.so:${PORTSDIR}/textproc/libxml2
GNU_CONFIGURE= yes
-PLIST_FILES= bin/s3fs
+PLIST_FILES= bin/s3fs man/man1/s3fs.1.gz
USES= fuse pkgconfig
+USE_OPENSSL= yes
-MAN1= s3fs.1
-
-NO_STAGE= yes
post-patch:
${REINPLACE_CMD} -e 's/libcrypto >= 0.9//g' ${WRKSRC}/configure
-
-post-install:
- @${CAT} ${PKGMESSAGE}
+ ${REINPLACE_CMD} -e '/^DEPS_LIBS =/s/$$/ -lcrypto/' \
+ ${WRKSRC}/src/Makefile.in
.include <bsd.port.mk>
diff --git a/sysutils/fusefs-s3fs/files/patch-src-curl.cpp b/sysutils/fusefs-s3fs/files/patch-src-curl.cpp
new file mode 100644
index 000000000000..963a094b2c2d
--- /dev/null
+++ b/sysutils/fusefs-s3fs/files/patch-src-curl.cpp
@@ -0,0 +1,11 @@
+--- src/curl.cpp.orig 2014-03-04 22:16:31.000000000 +0100
++++ src/curl.cpp 2014-03-04 22:16:41.000000000 +0100
+@@ -53,7 +53,7 @@
+ // Typedef
+ //-------------------------------------------------------------------
+ struct case_insensitive_compare_func {
+- bool operator ()(const string &a, const string &b) {
++ bool operator ()(const string &a, const string &b) const {
+ return strcasecmp(a.c_str(), b.c_str()) < 0;
+ }
+ };