summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfgsch <fgsch@openbsd.org>2009-08-08 12:20:30 +0000
committerfgsch <fgsch@openbsd.org>2009-08-08 12:20:30 +0000
commit0449bc5fad0bb4256069227eb83090bbd5ded8e3 (patch)
tree3955bf52dc1dae7325271bf068c85c188f1ebd99
parentallow to compile lynx with debug symbols. (diff)
downloadwireguard-openbsd-0449bc5fad0bb4256069227eb83090bbd5ded8e3.tar.xz
wireguard-openbsd-0449bc5fad0bb4256069227eb83090bbd5ded8e3.zip
Actually, add --enable-debug to configure so -g is not stripped if specified
and remove the patch from configure so we don't need to worry in the future.
-rw-r--r--gnu/usr.bin/lynx/Makefile.bsd-wrapper4
-rw-r--r--gnu/usr.bin/lynx/configure2
2 files changed, 3 insertions, 3 deletions
diff --git a/gnu/usr.bin/lynx/Makefile.bsd-wrapper b/gnu/usr.bin/lynx/Makefile.bsd-wrapper
index 80aac22e74a..c366f36b94c 100644
--- a/gnu/usr.bin/lynx/Makefile.bsd-wrapper
+++ b/gnu/usr.bin/lynx/Makefile.bsd-wrapper
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.bsd-wrapper,v 1.17 2009/05/31 09:16:50 avsm Exp $
+# $OpenBSD: Makefile.bsd-wrapper,v 1.18 2009/08/08 12:20:30 fgsch Exp $
MAN= lynx.1
CLEANFILES= lynx.cat1 lynx.1
@@ -11,7 +11,7 @@ OPT=-O1
.endif
GNUCFLAGS= CC="${CC}" CFLAGS="${CFLAGS} ${COPTS} ${OPT}"
-CONFIGURE_ARGS= --with-ssl=/usr --enable-ipv6
+CONFIGURE_ARGS= --with-ssl=/usr --enable-ipv6 --enable-debug
HTMLDIR= /usr/share/doc/html
HELPFILES= keystrokes/alt_edit_help.html keystrokes/bookmark_help.html \
keystrokes/cookie_help.html keystrokes/dired_help.html \
diff --git a/gnu/usr.bin/lynx/configure b/gnu/usr.bin/lynx/configure
index e1c8cbeb64d..09eca522534 100644
--- a/gnu/usr.bin/lynx/configure
+++ b/gnu/usr.bin/lynx/configure
@@ -2762,7 +2762,7 @@ else
test -z "$ORIGINAL_CFLAGS" && CFLAGS=`echo ${CFLAGS} | sed -e 's%-g %%' -e 's%-g$%%'`
;;
*)
- #test -z "$ORIGINAL_CFLAGS" && CFLAGS=`echo ${CFLAGS} | sed -e 's%-g %%' -e 's%-g$%%'`
+ test -z "$ORIGINAL_CFLAGS" && CFLAGS=`echo ${CFLAGS} | sed -e 's%-g %%' -e 's%-g$%%'`
;;
esac
fi