openbsd-ports/x11/rdesktop/patches/patch-configure
jcs d1a6bf9813 rdesktop-1.3.1
fixes some rdp5 connectivity issues
2004-01-22 16:57:18 +00:00

34 lines
843 B
Plaintext

$OpenBSD: patch-configure,v 1.4 2004/01/22 16:57:18 jcs Exp $
--- configure.orig Thu Jan 22 10:46:40 2004
+++ configure Thu Jan 22 10:47:32 2004
@@ -67,6 +67,9 @@
;;
--without-debug*)
;;
+ --sysconfdir*)
+ # ignore
+ ;;
*)
echo "Target directories:"
echo " --prefix=PREFIX location for architecture-independent files"
@@ -115,7 +118,7 @@
echo "CC = $cc" >>Makeconf
if $cc -v 2>&1 |grep '^gcc' >/dev/null; then
- cflags="$cflags -Wall -O2"
+ cflags="$cflags -Wall"
else
cflags="$cflags -O"
fi
@@ -294,8 +297,8 @@
esac
-echo "CFLAGS = $cflags" >>Makeconf
-echo "LDFLAGS = $ldflags" >>Makeconf
+echo "CFLAGS += $cflags" >>Makeconf
+echo "LDFLAGS += $ldflags" >>Makeconf
echo "TARGETS = $targets" >>Makeconf
echo "configure complete - now run make"