pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/p5-pkgsrc-Dewey PR pkg/56035 from Malte Dehli...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/992720f392b1
branches:  trunk
changeset: 455434:992720f392b1
user:      dholland <dholland%pkgsrc.org@localhost>
date:      Sun Jul 04 17:43:27 2021 +0000

description:
PR pkg/56035 from Malte Dehling: fix pkgtools/p5-pkgsrc-Dewey build on Solaris

diffstat:

 pkgtools/p5-pkgsrc-Dewey/Makefile |  10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 91f1873260d4 -r 992720f392b1 pkgtools/p5-pkgsrc-Dewey/Makefile
--- a/pkgtools/p5-pkgsrc-Dewey/Makefile Sun Jul 04 14:31:54 2021 +0000
+++ b/pkgtools/p5-pkgsrc-Dewey/Makefile Sun Jul 04 17:43:27 2021 +0000
@@ -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.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



Home | Main Index | Thread Index | Old Index