pkgsrc-WIP-changes archive

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

sdl12-compat: cleanup



Module Name:	pkgsrc-wip
Committed By:	Adam Ciarciński <aciarcinski%teonite.com@localhost>
Pushed By:	adam
Date:		Wed Jan 10 14:36:54 2024 +0100
Changeset:	610f356df6baac9c3be3bc82bd82e6a14239b9cd

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

Log Message:
sdl12-compat: cleanup

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

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

diffstat:
 sdl12-compat/Makefile      |  8 ++------
 sdl12-compat/buildlink3.mk | 18 ------------------
 2 files changed, 2 insertions(+), 24 deletions(-)

diffs:
diff --git a/sdl12-compat/Makefile b/sdl12-compat/Makefile
index 9a11c459b7..c690791125 100644
--- a/sdl12-compat/Makefile
+++ b/sdl12-compat/Makefile
@@ -1,7 +1,6 @@
 # $NetBSD: Makefile,v 1.6 2023/05/06 19:09:11 ryoon Exp $
 
 DISTNAME=	sdl12-compat-1.2.68
-PKGREVISION=	0
 CATEGORIES=	devel
 MASTER_SITES=	${MASTER_SITE_GITHUB:=libsdl-org/}
 GITHUB_TAG=	release-${PKGVERSION_NOREV}
@@ -11,16 +10,13 @@ HOMEPAGE=	https://github.com/libsdl-org/sdl12-compat
 COMMENT=	SDL-1.2 compatibility layer that uses SDL 2.0 behind the scenes
 LICENSE=	zlib
 
-USE_CMAKE=	yes
-
 CONFLICTS+=	SDL-[0-9]*
 
 PKGCONFIG_OVERRIDE+=	sdl12_compat.pc.in
 
-#post-install:
-#	${RM} ${DESTDIR}${PREFIX}/include/SDL/*.orig
-
+BUILDLINK_DEPMETHOD.SDL2=	build
 .include "../../devel/SDL2/buildlink3.mk"
+.include "../../devel/cmake/build.mk"
 .include "../../mk/bsd.prefs.mk"
 .if ${OPSYS} != "Darwin"
 .  include "../../graphics/MesaLib/buildlink3.mk"
diff --git a/sdl12-compat/buildlink3.mk b/sdl12-compat/buildlink3.mk
index 8ca470e689..5f3a1dce56 100644
--- a/sdl12-compat/buildlink3.mk
+++ b/sdl12-compat/buildlink3.mk
@@ -1,31 +1,13 @@
 # $NetBSD$
-# XXX
-# XXX This file was created automatically using createbuildlink-3.19.
-# XXX After this file has been verified as correct, the comment lines
-# XXX beginning with "XXX" should be removed.  Please do not commit
-# XXX unverified buildlink3.mk files.
 
 BUILDLINK_TREE+=	sdl12-compat
 
 .if !defined(SDL12_COMPAT_BUILDLINK3_MK)
 SDL12_COMPAT_BUILDLINK3_MK:=
 
-# XXX
-# XXX Packages that only install static libraries or headers should
-# XXX include the following line:
-# XXX
-# XXX	BUILDLINK_DEPMETHOD.sdl12-compat?=	build
-
 BUILDLINK_API_DEPENDS.sdl12-compat+=	sdl12-compat>=1.2.52nb3
 BUILDLINK_PKGSRCDIR.sdl12-compat?=	../../wip/sdl12-compat
 
-# XXX
-# XXX Uncomment and keep only the buildlink3 lines below which are directly
-# XXX needed for dependencies to compile, link, and run.  If this package
-# XXX provides a wrappered API or otherwise does not expose the APIs of the
-# XXX buildlink3 lines below to dependencies, remove them.
-# XXX
-#.include "../../devel/SDL2/buildlink3.mk"
 .endif	# SDL12_COMPAT_BUILDLINK3_MK
 
 BUILDLINK_TREE+=	-sdl12-compat


Home | Main Index | Thread Index | Old Index