1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-02 11:09:29 +00:00

- 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)
This commit is contained in:
Emanuel Haupt 2006-09-07 20:04:19 +00:00
parent 51cc77af47
commit 3b3202afc1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=172523
2 changed files with 15 additions and 1 deletions

View File

@ -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 \

View File

@ -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