summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2004-06-24 20:44:07 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2004-06-24 20:44:07 +0000
commit5bcef2f7787e84765fdba47d9f2a58df63b70c4d (patch)
tree26c6a2b0bb83c6fb5b774c806f57b9674a9f9efc /gnu
parente236d6b73fe97ac5dfb9d70f83f6f951dc47f876 (diff)
let vax build lynx (workaround); miod ok
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/lynx/Makefile.bsd-wrapper9
1 files changed, 7 insertions, 2 deletions
diff --git a/gnu/usr.bin/lynx/Makefile.bsd-wrapper b/gnu/usr.bin/lynx/Makefile.bsd-wrapper
index cabfdc778ea..7ada22d99fa 100644
--- a/gnu/usr.bin/lynx/Makefile.bsd-wrapper
+++ b/gnu/usr.bin/lynx/Makefile.bsd-wrapper
@@ -1,9 +1,14 @@
-# $OpenBSD: Makefile.bsd-wrapper,v 1.14 2004/06/21 19:13:21 deraadt Exp $
+# $OpenBSD: Makefile.bsd-wrapper,v 1.15 2004/06/24 20:44:06 deraadt Exp $
MAN= lynx.1
CLEANFILES= lynx.cat1 lynx.1
DPADD= ${LIBSSL} ${LIBCRYPTO}
-GNUCFLAGS= CC="${CC}" CFLAGS="${CFLAGS} ${COPTS}"
+
+.if (${MACHINE} == "vax")
+OPT=-O0
+.endif
+
+GNUCFLAGS= CC="${CC}" CFLAGS="${CFLAGS} ${COPTS} ${OPT}"
CONFIGURE_ARGS= --with-ssl=/usr --enable-ipv6
HTMLDIR= /usr/share/doc/html
HELPFILES= keystrokes/alt_edit_help.html keystrokes/bookmark_help.html \