| @@ -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 | |
3 | DISTNAME= libbpg-0.9.2 | | 3 | DISTNAME= libbpg-0.9.2 |
4 | CATEGORIES= graphics | | 4 | CATEGORIES= graphics |
5 | MASTER_SITES= https://bellard.org/bpg/ | | 5 | MASTER_SITES= https://bellard.org/bpg/ |
6 | | | 6 | |
7 | MAINTAINER= agc@NetBSD.org | | 7 | MAINTAINER= agc@NetBSD.org |
8 | HOMEPAGE= https://bellard.org/bpg/ | | 8 | HOMEPAGE= https://bellard.org/bpg/ |
9 | COMMENT= Better Portable Graphics image format library | | 9 | COMMENT= Better Portable Graphics image format library |
10 | LICENSE= modified-bsd | | 10 | LICENSE= modified-bsd |
11 | | | 11 | |
12 | USE_TOOLS+= gmake | | 12 | USE_TOOLS+= gmake |
13 | USE_LANGUAGES+= c c++ | | 13 | USE_LANGUAGES+= c c++ |
14 | | | 14 | |
15 | AUTO_MKDIRS= yes | | 15 | AUTO_MKDIRS= yes |
16 | | | 16 | |
17 | SUBST_CLASSES+= config | | 17 | SUBST_CLASSES+= config |
18 | SUBST_MESSAGE.config= config.h file substitutions | | 18 | SUBST_MESSAGE.config= config.h file substitutions |
19 | SUBST_STAGE.config= pre-configure | | 19 | SUBST_STAGE.config= pre-configure |
20 | SUBST_FILES.config= config.h | | 20 | SUBST_FILES.config= config.h |
21 | SUBST_VARS.config= PREFIX | | 21 | SUBST_VARS.config= PREFIX |
22 | | | 22 | |
| | | 23 | BUILDLINK_TRANSFORM.Darwin+= rm:-Wl,--gc-sections |
23 | BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--gc-sections | | 24 | BUILDLINK_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" |