freebsd-ports/devel/sdl12/files/patch-ak
Maxim Sobolev a15a3d0479 Fix sdl11-config to return -I${LOCALBASE}/include, like previous
version did.

Prompted by:	lioux
2003-01-03 08:53:56 +00:00

23 lines
712 B
Text

$FreeBSD$
--- sdl-config.in.orig Mon Sep 9 08:28:06 2002
+++ sdl-config.in Fri Jan 3 10:43:28 2003
@@ -5,7 +5,7 @@
exec_prefix_set=no
usage="\
-Usage: sdl-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--cflags] [--libs] [--static-libs]"
+Usage: sdl11-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--cflags] [--libs] [--static-libs]"
if test $# -eq 0; then
echo "${usage}" 1>&2
@@ -39,7 +39,7 @@
echo @SDL_VERSION@
;;
--cflags)
- echo -I@includedir@/SDL @SDL_CFLAGS@
+ echo -I@includedir@/SDL11 -I@includedir@ @SDL_CFLAGS@
# The portable way of including SDL is #include "SDL.h"
#if test @includedir@ != /usr/include ; then