pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/sdl12-compat



Module Name:    pkgsrc
Committed By:   nia
Date:           Thu Apr 21 06:56:19 UTC 2022

Modified Files:
        pkgsrc/devel/sdl12-compat: Makefile buildlink3.mk

Log Message:
sdl12-compat: needs glu on !darwin


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/sdl12-compat/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/sdl12-compat/buildlink3.mk

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

Modified files:

Index: pkgsrc/devel/sdl12-compat/Makefile
diff -u pkgsrc/devel/sdl12-compat/Makefile:1.2 pkgsrc/devel/sdl12-compat/Makefile:1.3
--- pkgsrc/devel/sdl12-compat/Makefile:1.2      Sat Apr  2 07:17:55 2022
+++ pkgsrc/devel/sdl12-compat/Makefile  Thu Apr 21 06:56:18 2022
@@ -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 @@ post-install:
        ${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"

Index: pkgsrc/devel/sdl12-compat/buildlink3.mk
diff -u pkgsrc/devel/sdl12-compat/buildlink3.mk:1.1 pkgsrc/devel/sdl12-compat/buildlink3.mk:1.2
--- pkgsrc/devel/sdl12-compat/buildlink3.mk:1.1 Fri Apr  1 10:43:05 2022
+++ pkgsrc/devel/sdl12-compat/buildlink3.mk     Thu Apr 21 06:56:18 2022
@@ -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_API_DEPENDS.sdl12-compat+=   sdl
 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