From 546f4316e3a63a46f936a91d89d990d3eb6d02a8 Mon Sep 17 00:00:00 2001 From: pvalchev Date: Thu, 20 Mar 2008 22:00:15 +0000 Subject: [PATCH] @X_LIBS@ and @C_CFLAGS@ for pkg-config too, from brad --- devel/sdl/Makefile | 4 ++-- devel/sdl/patches/patch-sdl_pc_in | 11 +++++++++++ 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 devel/sdl/patches/patch-sdl_pc_in diff --git a/devel/sdl/Makefile b/devel/sdl/Makefile index ee797a4abf5..dff7394eb68 100644 --- a/devel/sdl/Makefile +++ b/devel/sdl/Makefile @@ -1,10 +1,10 @@ -# $OpenBSD: Makefile,v 1.63 2008/03/20 05:14:11 pvalchev Exp $ +# $OpenBSD: Makefile,v 1.64 2008/03/20 22:00:15 pvalchev Exp $ COMMENT= cross-platform multimedia library VERSION= 1.2.13 DISTNAME= SDL-${VERSION} -PKGNAME= ${DISTNAME:L}p2 +PKGNAME= ${DISTNAME:L}p3 CATEGORIES= devel HOMEPAGE= http://www.libsdl.org/ diff --git a/devel/sdl/patches/patch-sdl_pc_in b/devel/sdl/patches/patch-sdl_pc_in new file mode 100644 index 00000000000..7b927db26aa --- /dev/null +++ b/devel/sdl/patches/patch-sdl_pc_in @@ -0,0 +1,11 @@ +$OpenBSD: patch-sdl_pc_in,v 1.1 2008/03/20 22:00:15 pvalchev Exp $ +--- sdl.pc.in.orig Thu Mar 20 07:59:18 2008 ++++ sdl.pc.in Thu Mar 20 07:59:38 2008 +@@ -10,5 +10,5 @@ Description: Simple DirectMedia Layer is a cross-platf + Version: @SDL_VERSION@ + Requires: + Conflicts: +-Libs: -L${libdir} @SDL_RLD_FLAGS@ @SDL_LIBS@ +-Cflags: -I${includedir}/SDL @SDL_CFLAGS@ ++Libs: -L${libdir} @SDL_RLD_FLAGS@ @SDL_LIBS@ @X_LIBS@ ++Cflags: -I${includedir}/SDL @SDL_CFLAGS@ @X_CFLAGS@