pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/LostPixels Export SDLDIR, otherwise cmake cannot...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b9e7a835d490
branches:  trunk
changeset: 395072:b9e7a835d490
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Jul 06 16:09:21 2009 +0000

description:
Export SDLDIR, otherwise cmake cannot find SDL_image and friends.

diffstat:

 games/LostPixels/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r ed735e429baf -r b9e7a835d490 games/LostPixels/Makefile
--- a/games/LostPixels/Makefile Mon Jul 06 16:08:05 2009 +0000
+++ b/games/LostPixels/Makefile Mon Jul 06 16:09:21 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2008/12/10 00:17:16 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2009/07/06 16:09:21 joerg Exp $
 #
 
 DISTNAME=      LostPixels-0.5.3-source
@@ -14,6 +14,8 @@
 USE_CMAKE=     yes
 USE_LANGUAGES= c c++
 
+ALL_ENV+=      SDLDIR=${BUILDLINK_PREFIX.SDL}/include/SDL
+
 .include "../../audio/SDL_mixer/buildlink3.mk"
 .include "../../audio/libvorbis/buildlink3.mk"
 .include "../../devel/SDL/buildlink3.mk"



Home | Main Index | Thread Index | Old Index