1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

security/amap: Fix harder

The arguments passed to the configuration script were getting initialized,
so convert these to environment variables and augment the configure script
patch to allow them to work as intended.  Also fix a typo.
This commit is contained in:
John Marino 2016-09-13 13:59:17 +00:00
parent 8d04c43989
commit 8c8318c1f8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=422000
2 changed files with 22 additions and 6 deletions

View File

@ -12,9 +12,9 @@ COMMENT= Application mapper
USES= ssl
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX} \
SSL_PATH=${OPENSSLLIB} \
CRYPTO_PATH=${OPENSSLIB} \
CONFIGURE_ARGS= --prefix=${PREFIX}
CONFIGURE_ENV= SSL_PATH=${OPENSSLLIB} \
CRYPTO_PATH=${OPENSSLLIB} \
SSL_IPATH=${OPENSSLINC}
MAKE_JOBS_UNSAFE= yes

View File

@ -1,6 +1,13 @@
--- configure.orig Wed Jun 29 17:40:57 2005
+++ configure Wed Jun 29 17:41:18 2005
@@ -29,7 +29,7 @@
--- configure.orig 2005-06-03 13:34:19 UTC
+++ configure
@@ -22,14 +22,11 @@ echo
echo "Starting amap auto configuration ..."
rm -f Makefile.in
PREFIX=""
-SSL_PATH=""
-SSL_IPATH=""
-CRYPTO_PATH=""
NSL_PATH=""
SOCKET_PATH=""
MANDIR=""
LIBDIRS=`cat /etc/ld.so.conf 2> /dev/null`
@ -9,3 +16,12 @@
echo
echo "Checking for openssl ..."
@@ -80,7 +77,7 @@ if [ "X" = "X$SSL_IPATH" ]; then
CRYPTO_PATH=""
fi
if [ -n "$SSL_PATH" ]; then
- echo " ... found"
+ echo " ... found: $SSL_PATH"
fi
if [ "X" = "X$SSL_PATH" ]; then
echo " ... NOT found, SSL support disabled"