openbsd-ports/editors/ht/patches/patch-configure

22 lines
833 B
Plaintext
Raw Normal View History

2004-01-04 12:27:48 -05:00
$OpenBSD: patch-configure,v 1.3 2004/01/04 17:27:48 sturm Exp $
--- configure.orig 2003-11-06 22:07:50.000000000 +0100
+++ configure 2004-01-04 17:54:41.000000000 +0100
@@ -1420,7 +1420,7 @@ fi;
if test "x$enable_release" = "xyes"; then
FLAGS_ALL="-O2 -fomit-frame-pointer -Wall -fsigned-char"
else
- FLAGS_ALL="-g -O0 -Wall -fsigned-char"
+ FLAGS_ALL="${CFLAGS} -fsigned-char"
fi
if test "x$enable_profiling" = "xyes"; then
2004-01-04 12:27:48 -05:00
@@ -3835,7 +3835,7 @@ HAVE_X11=0
if test "x$enable_x11_textmode" = "xyes"; then
TEMP_LDFLAGS=$LDFLAGS
- LDFLAGS="$HT_LDFLAGS -L/usr/X11/lib -L/usr/X11R6/lib"
+ LDFLAGS="$HT_LDFLAGS -L${X11BASE}/lib"
echo "$as_me:$LINENO: checking for XOpenDisplay in -lX11" >&5
echo $ECHO_N "checking for XOpenDisplay in -lX11... $ECHO_C" >&6
if test "${ac_cv_lib_X11_XOpenDisplay+set}" = set; then