aboutsummaryrefslogtreecommitdiff
path: root/deskutils
diff options
context:
space:
mode:
authorRaphael Kubo da Costa <rakuco@FreeBSD.org>2015-09-07 12:09:53 +0000
committerRaphael Kubo da Costa <rakuco@FreeBSD.org>2015-09-07 12:09:53 +0000
commitcfc6c4293039552f202f876335e4b66c3747e29a (patch)
treeffb571025437522673ec34290c9b44247880bed5 /deskutils
parent679e84470dc12a145262007bd7529a3bdd65f0c7 (diff)
downloadports-cfc6c4293039552f202f876335e4b66c3747e29a.tar.gz
ports-cfc6c4293039552f202f876335e4b66c3747e29a.zip
Notes
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/owncloudclient/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/deskutils/owncloudclient/Makefile b/deskutils/owncloudclient/Makefile
index 1b017598bba3..9e3c4a5899f2 100644
--- a/deskutils/owncloudclient/Makefile
+++ b/deskutils/owncloudclient/Makefile
@@ -39,6 +39,11 @@ PLIST_SUB= VERSION=${PORTVERSION}
.if ${OPSYS} != FreeBSD || ${OSVERSION} < 1000015
WITH_OPENSSL_PORT= yes
+
+# CMake 3.3.x will use $PATH when looking for headers and libraries by default,
+# and OpenSSL from base will end up being used. Make sure ${LOCALBASE} is
+# preferred over $PATH.
+CMAKE_ARGS+= -DCMAKE_PREFIX_PATH=${LOCALBASE}
.endif
post-patch: