diff options
author | schwarz <schwarz@pkgsrc.org> | 2010-06-27 20:28:54 +0000 |
---|---|---|
committer | schwarz <schwarz@pkgsrc.org> | 2010-06-27 20:28:54 +0000 |
commit | cb3d8bf3abc6e5f7444171554afe0b141bfd041d (patch) | |
tree | 5b1a99c88f46776325063c92acfa17875597dad1 /net/sipsak | |
parent | 3d33267b6d8bf4c70321e69b7e0b7e593c981e62 (diff) | |
download | pkgsrc-cb3d8bf3abc6e5f7444171554afe0b141bfd041d.tar.gz |
do not use inline in header file with SunPro compiler
Diffstat (limited to 'net/sipsak')
-rw-r--r-- | net/sipsak/Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
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" |