pkgsrc-WIP-changes archive

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

supertux: Fix build on Darwin



Module Name:	pkgsrc-wip
Committed By:	youri <youri%NetBSD.org@localhost>
Pushed By:	youri
Date:		Sat Apr 16 14:43:21 2016 +0200
Changeset:	b25e63895fcc41a1decd771a703da20eff276376

Modified Files:
	supertux/Makefile
Added Files:
	supertux/PLIST.Darwin

Log Message:
supertux: Fix build on Darwin

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=b25e63895fcc41a1decd771a703da20eff276376

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 supertux/Makefile     | 3 +++
 supertux/PLIST.Darwin | 3 +++
 2 files changed, 6 insertions(+)

diffs:
diff --git a/supertux/Makefile b/supertux/Makefile
index 968a6e8..983b7c3 100644
--- a/supertux/Makefile
+++ b/supertux/Makefile
@@ -20,6 +20,9 @@ CMAKE_ARGS+=		-DBUILD_SHARED_LIBS=off
 USE_TOOLS+=		gmake
 USE_LANGUAGES=		c c++
 
+CFLAGS+=	-I${BUILDLINK_DIR}/include/AL
+LDFLAGS+=	-L${BUILDLINK_DIR}/lib ${COMPILER_RPATH_FLAG}${BUILDLINK_DIR}/lib
+
 .include "../../sysutils/desktop-file-utils/desktopdb.mk"
 .include "../../audio/openal/buildlink3.mk"
 .include "../../audio/libvorbis/buildlink3.mk"
diff --git a/supertux/PLIST.Darwin b/supertux/PLIST.Darwin
new file mode 100644
index 0000000..84cf303
--- /dev/null
+++ b/supertux/PLIST.Darwin
@@ -0,0 +1,3 @@
+MacOS/libjpeg.dylib
+MacOS/libpng.dylib
+MacOS/libz.dylib


Home | Main Index | Thread Index | Old Index