Annotation of pkgsrc/time/R-RcppCCTZ/Makefile, revision 1.6
1.6 ! mef 1: # $NetBSD: Makefile,v 1.5 2026/05/26 21:19:47 mef Exp $
1.1 mef 2:
3: R_PKGNAME= RcppCCTZ
1.5 mef 4: R_PKGVER= 0.2.14
1.1 mef 5: CATEGORIES= time
6:
7: MAINTAINER= pkgsrc-users@NetBSD.org
8: COMMENT= 'Rcpp' Bindings for the 'CCTZ' Library
9: LICENSE= gnu-gpl-v2 OR gnu-gpl-v3
10:
11: TEST_DEPENDS+= R-tinytest-[0-9]*:../../devel/R-tinytest
12:
13: TEST_DEPENDS+= tex-ec-[0-9]*:../../fonts/tex-ec
14: TEST_DEPENDS+= tex-inconsolata-[0-9]*:../../fonts/tex-inconsolata
15: TEST_DEPENDS+= tex-latex-bin-[0-9]*:../../print/tex-latex-bin
16: TEST_DEPENDS+= tex-url-[0-9]*:../../print/tex-url
17: TEST_DEPENDS+= tex-xkeyval-[0-9]*:../../print/tex-xkeyval
18:
1.2 wiz 19: USE_LANGUAGES= c c++
1.5 mef 20: # only for patch-src_Makevars
21: USE_TOOLS+= gmake
22:
1.3 mef 23: .include "../../mk/bsd.prefs.mk"
24:
1.6 ! mef 25: SUBST_CLASSES+= pkglibs
! 26: SUBST_STAGE.pkglibs= pre-configure
! 27: SUBST_FILES.pkglibs= src/Makevars
! 28: SUBST_MESSAGE.pkglibs= Add -lexecinfo for *BSD
! 29: .if ${OPSYS} != SunOS && ${OPSYS} != Linux && ${OPSYS} != Darwin
! 30: SUBST_SED.pkglibs= -e s,@@PKG_LIBS@@,PKG_LIBS+=-lexecinfo,
! 31: .else
! 32: SUBST_SED.pkglibs= -e s,@@PKG_LIBS@@,,
! 33: .endif
! 34:
1.3 mef 35: # https://mail-index.netbsd.org/pkgsrc-users/2025/01/02/msg040775.html
1.4 mef 36: # See
1.3 mef 37: # /usr/include/wchar.h
38: # /usr/pkg/gcc7/lib/gcc/x86_64--netbsd/7.5.0/include-fixed/wchar.h
39: .if ${OPSYS} == "NetBSD"
40: . if ${OPSYS_VERSION} < 090900
41: CWRAPPERS_APPEND.cxx= -D_NETBSD_SOURCE
42: . endif
43: .endif
1.1 mef 44:
45: .include "../../math/R/Makefile.extension"
46: .include "../../devel/R-Rcpp/buildlink3.mk"
47: .include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>