@X_LIBS@ and @C_CFLAGS@ for pkg-config too, from brad

This commit is contained in:
pvalchev 2008-03-20 22:00:15 +00:00
parent b38df514fa
commit 546f4316e3
2 changed files with 13 additions and 2 deletions

View File

@ -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/

View File

@ -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@