add @X_CFLAGS@ to sdl-config --cflags
(-I${X11BASE}/include), much
like -L{X11...} is in --libs from Peter Hessler
This commit is contained in:
parent
00dc6d05e3
commit
7081132bbf
@ -1,10 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.62 2008/03/19 13:33:29 jakemsr Exp $
|
||||
# $OpenBSD: Makefile,v 1.63 2008/03/20 05:14:11 pvalchev Exp $
|
||||
|
||||
COMMENT= cross-platform multimedia library
|
||||
|
||||
VERSION= 1.2.13
|
||||
DISTNAME= SDL-${VERSION}
|
||||
PKGNAME= ${DISTNAME:L}p1
|
||||
PKGNAME= ${DISTNAME:L}p2
|
||||
CATEGORIES= devel
|
||||
|
||||
HOMEPAGE= http://www.libsdl.org/
|
||||
|
@ -1,12 +1,12 @@
|
||||
$OpenBSD: patch-sdl-config_in,v 1.5 2007/09/22 01:12:38 pvalchev Exp $
|
||||
--- sdl-config.in.orig Sat Sep 8 22:28:00 2007
|
||||
+++ sdl-config.in Sat Sep 8 22:29:07 2007
|
||||
$OpenBSD: patch-sdl-config_in,v 1.6 2008/03/20 05:14:11 pvalchev Exp $
|
||||
--- sdl-config.in.orig Sun Dec 30 20:48:39 2007
|
||||
+++ sdl-config.in Tue Mar 18 20:33:17 2008
|
||||
@@ -42,10 +42,10 @@ while test $# -gt 0; do
|
||||
echo @SDL_VERSION@
|
||||
;;
|
||||
--cflags)
|
||||
- echo -I@includedir@/SDL @SDL_CFLAGS@
|
||||
+ echo -I@includedir@ -I@includedir@/SDL @SDL_CFLAGS@
|
||||
+ echo -I@includedir@ -I@includedir@/SDL @SDL_CFLAGS@ @X_CFLAGS@
|
||||
;;
|
||||
@ENABLE_SHARED_TRUE@ --libs)
|
||||
-@ENABLE_SHARED_TRUE@ echo -L@libdir@ @SDL_RLD_FLAGS@ @SDL_LIBS@
|
||||
|
Loading…
Reference in New Issue
Block a user