pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/sdl12-compat sdl12-compat: needs glu on !darwin



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6741e9ce0381
branches:  trunk
changeset: 377486:6741e9ce0381
user:      nia <nia%pkgsrc.org@localhost>
date:      Thu Apr 21 06:56:18 2022 +0000

description:
sdl12-compat: needs glu on !darwin

diffstat:

 devel/sdl12-compat/Makefile      |  7 ++++++-
 devel/sdl12-compat/buildlink3.mk |  9 ++++++++-
 2 files changed, 14 insertions(+), 2 deletions(-)

diffs (42 lines):

diff -r dce51f7ccee2 -r 6741e9ce0381 devel/sdl12-compat/Makefile
--- a/devel/sdl12-compat/Makefile       Wed Apr 20 23:52:00 2022 +0000
+++ b/devel/sdl12-compat/Makefile       Thu Apr 21 06:56:18 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2022/04/02 07:17:55 nia Exp $
+# $NetBSD: Makefile,v 1.3 2022/04/21 06:56:18 nia Exp $
 
 DISTNAME=      sdl12-compat-1.2.52
 CATEGORIES=    devel
@@ -20,4 +20,9 @@
        ${RM} ${DESTDIR}${PREFIX}/include/SDL/*.orig
 
 .include "../../devel/SDL2/buildlink3.mk"
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} != "Darwin"
+.  include "../../graphics/MesaLib/buildlink3.mk"
+.  include "../../graphics/glu/buildlink3.mk"
+.endif
 .include "../../mk/bsd.pkg.mk"
diff -r dce51f7ccee2 -r 6741e9ce0381 devel/sdl12-compat/buildlink3.mk
--- a/devel/sdl12-compat/buildlink3.mk  Wed Apr 20 23:52:00 2022 +0000
+++ b/devel/sdl12-compat/buildlink3.mk  Thu Apr 21 06:56:18 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.1 2022/04/01 10:43:05 nia Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2022/04/21 06:56:18 nia Exp $
 
 BUILDLINK_TREE+=       sdl12-compat
 
@@ -9,6 +9,13 @@
 BUILDLINK_PKGSRCDIR.sdl12-compat?=     ../../devel/sdl12-compat
 BUILDLINK_INCDIRS.sdl12-compat+=       include/SDL
 
+.include "../../mk/bsd.fast.prefs.mk"
+
+.if ${OPSYS} != "Darwin"
+.  include "../../graphics/MesaLib/buildlink3.mk"
+.  include "../../graphics/glu/buildlink3.mk"
+.endif
+
 .endif # SDL12_COMPAT_BUILDLINK3_MK
 
 BUILDLINK_TREE+=       -sdl12-compat



Home | Main Index | Thread Index | Old Index