diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2000-02-06 22:25:15 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2000-02-06 22:25:15 +0000 |
commit | cda9d9b14a963eb6633afc583c58a881feaa33cf (patch) | |
tree | 7ad7af5ab178c24de3e91d0c20f63e5e5d1df4c5 /www/w3m | |
parent | 0f32e795bc277763015127899e0125127adb0318 (diff) | |
download | ports-cda9d9b14a963eb6633afc583c58a881feaa33cf.tar.gz ports-cda9d9b14a963eb6633afc583c58a881feaa33cf.zip |
Notes
Diffstat (limited to 'www/w3m')
-rw-r--r-- | www/w3m/Makefile | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/www/w3m/Makefile b/www/w3m/Makefile index 064af9ff539d..2d48a8dcaef7 100644 --- a/www/w3m/Makefile +++ b/www/w3m/Makefile @@ -16,10 +16,6 @@ MASTER_SITES= ftp://ei5nazha.yz.yamagata-u.ac.jp/w3m/dev/ \ MAINTAINER= nobutaka@nobutaka.com -.if defined(USE_SSL) -RESTRICTED= "Contains cryptography" -.endif - BUILD_DEPENDS= ${LOCALBASE}/lib/libgc.a:${PORTSDIR}/devel/boehm-gc WRKSRC= ${WRKDIR}/w3m @@ -47,21 +43,16 @@ DOCS_JP= ${DOCS} HISTORY HISTORY.kokb README.keymap README.kokb \ README.menu .endif -.if defined(USE_SSL) -LIB_DEPENDS+= crypto.1:${PORTSDIR}/security/openssl \ - ssl.1:${PORTSDIR}/security/openssl - -SSL_CFLAGS= -I${LOCALBASE}/include/openssl -SSL_LIBS= -lssl -lcrypto -.if defined(USA_RESIDENT) && ${USA_RESIDENT} == YES -EXTRA_SSL_LIBS= -lRSAglue -lrsaref -.endif +.if defined(USE_OPENSSL) +SSL_CFLAGS= -I${OPENSSLINC}/openssl -I${OPENSSLINC} +SSL_LIBS= -L${OPENSSLLIB} -lssl -lcrypto SED_CMD+= -e "s,undef USE_SSL,define USE_SSL,g" .endif -MAKE_FLAGS+= DEFS="-I${LOCALBASE}/include ${SSL_CFLAGS}" \ - LIBS="-L${LOCALBASE}/lib ${SSL_LIBS} ${EXTRA_SSL_LIBS}" +EXTRA_SSL_LIBS= -lRSAglue -lrsaref -L${LOCALBASE}/lib +MAKE_FLAGS+= DEFS="${SSL_CFLAGS} -I${LOCALBASE}/include" \ + LIBS="${SSL_LIBS} ${EXTRA_SSL_LIBS}" post-configure: @${CP} ${TARGET} ${TARGET}.in |