64d1b45cb4
OK jasper@
52 lines
1.4 KiB
Plaintext
52 lines
1.4 KiB
Plaintext
$OpenBSD: patch-configure,v 1.2 2011/07/27 19:55:40 sebastia Exp $
|
|
--- configure.orig Wed Jul 27 10:34:17 2011
|
|
+++ configure Wed Jul 27 14:44:10 2011
|
|
@@ -1785,7 +1785,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
|
|
|
|
|
|
-if test -z "$GNUSTEP_SYSTEM_ROOT"; then
|
|
+if test -z "$GNUSTEP_MAKEFILES"; then
|
|
as_fn_error $? "You must run the GNUstep initialization script first!" "$LINENO" 5
|
|
fi
|
|
|
|
@@ -3024,6 +3024,9 @@ else
|
|
netbsd*)
|
|
lib_freetype_libs=/usr/pkg/lib
|
|
;;
|
|
+ openbsd*)
|
|
+ lib_freetype_libs=${X11BASE}/lib
|
|
+ ;;
|
|
*)
|
|
lib_freetype_libs=$(sh freetype-config --prefix)/lib
|
|
;;
|
|
@@ -3031,7 +3034,7 @@ else
|
|
fi
|
|
|
|
if test -n "$with_freetype2_add_includes"; then
|
|
- lib_freetype_add_includes=-I$with_freetype2_add_includes
|
|
+ lib_freetype_add_includes=$with_freetype2_add_includes
|
|
else
|
|
case "$target_os" in
|
|
freebsd*)
|
|
@@ -3040,6 +3043,9 @@ else
|
|
netbsd*)
|
|
lib_freetype_add_includes=/usr/pkg/include
|
|
;;
|
|
+ openbsd*)
|
|
+ lib_freetype_add_includes=${X11BASE}/include
|
|
+ ;;
|
|
*)
|
|
lib_freetype_add_includes=$(sh freetype-config --cflags)
|
|
;;
|
|
@@ -3055,6 +3061,9 @@ else
|
|
;;
|
|
netbsd*)
|
|
lib_freetype_includes=/usr/pkg/include/freetype2
|
|
+ ;;
|
|
+ openbsd*)
|
|
+ lib_freetype_add_includes=${X11BASE}/include/freetype2
|
|
;;
|
|
*)
|
|
lib_freetype_includes=$(sh freetype-config --prefix)/include/freetype2
|