openbsd-ports/misc/splitvt/patches/patch-Configure
2001-03-12 16:21:17 +00:00

21 lines
496 B
Plaintext

$OpenBSD: patch-Configure,v 1.1 2001/03/12 16:21:17 wilfried Exp $
--- Configure.orig Fri Jan 20 21:45:50 1995
+++ Configure Mon Mar 12 17:20:26 2001
@@ -3,7 +3,6 @@
# Script to auto-configure splitvt. -Sam Lantinga
QUIET="-v"
-CFLAGS=
MAKE="echo \"Done. Type 'make' to build\""
echo "Making configuration..."
@@ -25,7 +24,7 @@ done
cc $CFLAGS -o config config.c
if [ -f config ]; then
- if ./config $QUIET
+ if env CFLAGS="$CFLAGS" ./config $QUIET
then eval $MAKE
fi
else