diff options
author | dholland <dholland@pkgsrc.org> | 2021-07-04 17:43:27 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2021-07-04 17:43:27 +0000 |
commit | 6db94f9dad91d26ef9c75d0106621c830f1d5571 (patch) | |
tree | 26f5a989e699bc161a292da80db7a3689ef432ba /pkgtools | |
parent | 418a5b3b0a20ae131b9cee210a098b1efc7d910e (diff) | |
download | pkgsrc-6db94f9dad91d26ef9c75d0106621c830f1d5571.tar.gz |
PR pkg/56035 from Malte Dehling: fix pkgtools/p5-pkgsrc-Dewey build on Solaris
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/p5-pkgsrc-Dewey/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/pkgtools/p5-pkgsrc-Dewey/Makefile b/pkgtools/p5-pkgsrc-Dewey/Makefile index 6f7be527f1b..40debdef4bf 100644 --- a/pkgtools/p5-pkgsrc-Dewey/Makefile +++ b/pkgtools/p5-pkgsrc-Dewey/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.36 2021/05/24 19:53:42 wiz Exp $ +# $NetBSD: Makefile,v 1.37 2021/07/04 17:43:27 dholland Exp $ PKGNAME= p5-pkgsrc-Dewey-1.1 PKGREVISION= 12 @@ -13,10 +13,16 @@ CPPFLAGS+= -DHAVE_CTYPE_H -DHAVE_STDLIB_H -DHAVE_STRING_H CPPFLAGS.NetBSD+= -DHAVE_ERR_H CPPFLAGS.Linux+= -fPIC -USE_LANGUAGES= c +USE_LANGUAGES= c99 USE_FEATURES+= err MAKE_ENV+= LIBS=${LIBS:Q} +.include "../../mk/compiler.mk" + +.if ${PKGSRC_COMPILER:Msunpro} +CPPFLAGS+= -xcode=pic32 +.endif + PERL5_PACKLIST= auto/pkgsrc/Dewey/.packlist PKG_INSTALL_FILESDIR= ${PKGSRCDIR}/pkgtools/pkg_install/files |