Fri Jul 21 12:34:21 2023 UTC ()
libbpg: Darwin linker does not support --gc-sections.


(jperkin)
diff -r1.5 -r1.6 pkgsrc/graphics/libbpg/Makefile

cvs diff -r1.5 -r1.6 pkgsrc/graphics/libbpg/Makefile (expand / switch to unified diff)

--- pkgsrc/graphics/libbpg/Makefile 2022/11/21 18:20:42 1.5
+++ pkgsrc/graphics/libbpg/Makefile 2023/07/21 12:34:21 1.6
@@ -1,29 +1,30 @@ @@ -1,29 +1,30 @@
1# $NetBSD: Makefile,v 1.5 2022/11/21 18:20:42 jperkin Exp $ 1# $NetBSD: Makefile,v 1.6 2023/07/21 12:34:21 jperkin Exp $
2 2
3DISTNAME= libbpg-0.9.2 3DISTNAME= libbpg-0.9.2
4CATEGORIES= graphics 4CATEGORIES= graphics
5MASTER_SITES= https://bellard.org/bpg/ 5MASTER_SITES= https://bellard.org/bpg/
6 6
7MAINTAINER= agc@NetBSD.org 7MAINTAINER= agc@NetBSD.org
8HOMEPAGE= https://bellard.org/bpg/ 8HOMEPAGE= https://bellard.org/bpg/
9COMMENT= Better Portable Graphics image format library 9COMMENT= Better Portable Graphics image format library
10LICENSE= modified-bsd 10LICENSE= modified-bsd
11 11
12USE_TOOLS+= gmake 12USE_TOOLS+= gmake
13USE_LANGUAGES+= c c++ 13USE_LANGUAGES+= c c++
14 14
15AUTO_MKDIRS= yes 15AUTO_MKDIRS= yes
16 16
17SUBST_CLASSES+= config 17SUBST_CLASSES+= config
18SUBST_MESSAGE.config= config.h file substitutions 18SUBST_MESSAGE.config= config.h file substitutions
19SUBST_STAGE.config= pre-configure 19SUBST_STAGE.config= pre-configure
20SUBST_FILES.config= config.h 20SUBST_FILES.config= config.h
21SUBST_VARS.config= PREFIX 21SUBST_VARS.config= PREFIX
22 22
 23BUILDLINK_TRANSFORM.Darwin+= rm:-Wl,--gc-sections
23BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--gc-sections 24BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--gc-sections
24 25
25.include "../../devel/zlib/buildlink3.mk" 26.include "../../devel/zlib/buildlink3.mk"
26.include "../../graphics/png/buildlink3.mk" 27.include "../../graphics/png/buildlink3.mk"
27.include "../../mk/jpeg.buildlink3.mk" 28.include "../../mk/jpeg.buildlink3.mk"
28.include "../../mk/pthread.buildlink3.mk" 29.include "../../mk/pthread.buildlink3.mk"
29.include "../../mk/bsd.pkg.mk" 30.include "../../mk/bsd.pkg.mk"