summaryrefslogtreecommitdiff
path: root/www/w3m
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2000-02-10 06:10:32 +0000
committerKris Kennaway <kris@FreeBSD.org>2000-02-10 06:10:32 +0000
commitbe44476452f6b963ea0c30867cda846e47cbc24b (patch)
treefc4626f3baf1b1de185bea70333ffe61023b7014 /www/w3m
parentEnable pm3-{base,forms,gui,net}. (diff)
Make this build again. I'm not sure how this slipped through :/
Notes
Notes: svn path=/head/; revision=25635
Diffstat (limited to 'www/w3m')
-rw-r--r--www/w3m/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/www/w3m/Makefile b/www/w3m/Makefile
index 2d48a8dcaef7..dc930a463f7b 100644
--- a/www/w3m/Makefile
+++ b/www/w3m/Makefile
@@ -48,11 +48,15 @@ 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
-EXTRA_SSL_LIBS= -lRSAglue -lrsaref -L${LOCALBASE}/lib
+.if defined(OPENSSL_RSAREF)
+EXTRA_SSL_LIBS= -lRSAglue -L${LOCALBASE}/lib -lrsaref
+.endif
MAKE_FLAGS+= DEFS="${SSL_CFLAGS} -I${LOCALBASE}/include" \
LIBS="${SSL_LIBS} ${EXTRA_SSL_LIBS}"
+.else
+MAKE_FLAGS+= DEFS="-I${LOCALBASE}/include" LIBS="-L${LOCALBASE}/lib"
+.endif
post-configure:
@${CP} ${TARGET} ${TARGET}.in