summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2006-09-07 20:04:19 +0000
committerehaupt <ehaupt@FreeBSD.org>2006-09-07 20:04:19 +0000
commitfecfaa92d7cad829e8d1cc93daf89bcfbfeaa8af (patch)
treea503fecef67ee664366864a94a3ef1aaa998d193
parentc2e986ebe93f3e7973ad90cb8d39bef11dcf98c0 (diff)
downloadFreeBSD-ports-fecfaa92d7cad829e8d1cc93daf89bcfbfeaa8af.zip
FreeBSD-ports-fecfaa92d7cad829e8d1cc93daf89bcfbfeaa8af.tar.gz
- Provide a patch to fix a bug in the configure script that caused the include
and library directory flags to gcc to be wrong - Bump PORTREVISION PR: 102920 Submitted by: David Thiel <lx@redundancy.redundancy.org> (maintainer)
-rw-r--r--security/libssh2/Makefile3
-rw-r--r--security/libssh2/files/patch-configure13
2 files changed, 15 insertions, 1 deletions
diff --git a/security/libssh2/Makefile b/security/libssh2/Makefile
index 1186af6..0cc50c3 100644
--- a/security/libssh2/Makefile
+++ b/security/libssh2/Makefile
@@ -7,6 +7,7 @@
PORTNAME= libssh2
PORTVERSION= 0.14
+PORTREVISION= 1
CATEGORIES= security devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -17,7 +18,7 @@ COMMENT= A library implementing the SSH2 protocol
USE_OPENSSL= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-INSTALLS_SHLIB= yes
+USE_LDCONFIG= yes
PLIST_FILES= include/libssh2.h \
include/libssh2_publickey.h \
diff --git a/security/libssh2/files/patch-configure b/security/libssh2/files/patch-configure
new file mode 100644
index 0000000..c2fa0cb
--- /dev/null
+++ b/security/libssh2/files/patch-configure
@@ -0,0 +1,13 @@
+--- configure.orig Tue Sep 5 13:14:03 2006
++++ configure Tue Sep 5 13:14:17 2006
+@@ -3738,8 +3738,8 @@
+ if test "$found_openssl" = "no" && test -x "$PKG_CONFIG" && $PKG_CONFIG --exists openssl; then
+ found_openssl=yes
+ pkgcfg_openssl=yes
+- OPENSSL_LIBLINE=`$PKG_CONFIG --libs openssl`
+- OPENSSL_INCLINE=`$PKG_CONFIG --variable=includedir openssl`
++ OPENSSL_LIBLINE=-L`$PKG_CONFIG --libs openssl`
++ OPENSSL_INCLINE=-I`$PKG_CONFIG --variable=includedir openssl`
+ echo "$as_me:$LINENO: result: Using paths from pkg-config" >&5
+ echo "${ECHO_T}Using paths from pkg-config" >&6
+ fi
OpenPOWER on IntegriCloud