mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-06 06:30:19 +00:00
USE_OPENSSL, respect CC, LOCALBASE (indirectly via OPENSSLLIB)
Assisted by: Jim Bloom <bloom@acm.org>
This commit is contained in:
parent
da5b56c004
commit
5bb50d962a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=25527
@ -13,13 +13,7 @@ MASTER_SITES= ftp://ftp.obdev.at/pub/Products/sslproxy/
|
||||
|
||||
MAINTAINER= alexlh@funk.org
|
||||
|
||||
LIB_DEPENDS= crypto.1:${PORTSDIR}/security/openssl \
|
||||
ssl.1:${PORTSDIR}/security/openssl
|
||||
|
||||
.if defined(USA_RESIDENT) && ${USA_RESIDENT} == YES
|
||||
LIB_DEPENDS= rsaref.2:${PORTSDIR}/security/rsaref
|
||||
MAKE_ENV+= EXTRA_SSL_LIBS="-lRSAglue -lrsaref"
|
||||
.endif
|
||||
USE_OPENSSL= RSA
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/sslproxy ${PREFIX}/bin/sslproxy
|
||||
|
@ -1,19 +1,21 @@
|
||||
--- Makefile.orig Sun Jun 14 15:52:50 1998
|
||||
+++ Makefile Sat Jul 31 11:12:56 1999
|
||||
@@ -12,13 +12,13 @@
|
||||
--- Makefile.orig Sun Jun 14 13:52:50 1998
|
||||
+++ Makefile Sat Jan 29 16:48:49 2000
|
||||
@@ -10,15 +10,13 @@
|
||||
|
||||
|
||||
# if you use cc, remove the -Wall and -g options
|
||||
CC= gcc
|
||||
-CC= gcc
|
||||
+CC?= gcc
|
||||
|
||||
-SSLROOT= /usr/local/ssl
|
||||
+SSLROOT= /usr/local
|
||||
|
||||
-
|
||||
-CFLAGS= -Wall -I$(SSLROOT)/include -O
|
||||
+CFLAGS+= -I$(SSLROOT)/include
|
||||
+CFLAGS+= -I$(OPENSSLINC)
|
||||
# for Solaris 2.x add -DSOLARIS2, for SunOS add -DSUNOS and for HP-UX add
|
||||
# -DHP to the CFLAGS variable
|
||||
|
||||
-LIBS = -L$(SSLROOT)/lib -lssl -lcrypto
|
||||
+LIBS = -L$(SSLROOT)/lib -lssl -lcrypto $(EXTRA_SSL_LIBS)
|
||||
+LIBS = -L$(OPENSSLLIB) -lssl -lcrypto $(EXTRA_SSL_LIBS)
|
||||
|
||||
OBJ = sslproxy.o
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user