From cb3d8bf3abc6e5f7444171554afe0b141bfd041d Mon Sep 17 00:00:00 2001 From: schwarz Date: Sun, 27 Jun 2010 20:28:54 +0000 Subject: do not use inline in header file with SunPro compiler --- net/sipsak/Makefile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'net/sipsak') diff --git a/net/sipsak/Makefile b/net/sipsak/Makefile index d4432eda1df..93824390476 100644 --- a/net/sipsak/Makefile +++ b/net/sipsak/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2010/01/17 12:02:35 wiz Exp $ +# $NetBSD: Makefile,v 1.8 2010/06/27 20:28:54 schwarz Exp $ DISTNAME= sipsak-0.9.6-1 PKGNAME= ${DISTNAME:S/-1//} @@ -17,6 +17,15 @@ WRKSRC= ${WRKDIR}/${DISTNAME:S/-1//} GNU_CONFIGURE= YES USE_TOOLS+= gmake +.include "../../mk/bsd.prefs.mk" + +.if ${PKGSRC_COMPILER} == "sunpro" +SUBST_CLASSES+= inline +SUBST_STAGE.inline= post-patch +SUBST_FILES.inline= header_f.h +SUBST_SED.inline= -e 's/inline //g' +.endif + INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 .include "../../security/openssl/buildlink3.mk" -- cgit v1.2.3