From fed9693c023d5581d4dfe78092fdce91d555e2b3 Mon Sep 17 00:00:00 2001 From: "Federico G. Schwindt" Date: Sat, 8 Aug 2009 12:20:31 +0000 Subject: 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. --- gnu/usr.bin/lynx/Makefile.bsd-wrapper | 4 ++-- gnu/usr.bin/lynx/configure | 2 +- 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 -- cgit v1.2.3