diff options
author | hans <hans> | 2012-02-16 18:05:09 +0000 |
---|---|---|
committer | hans <hans> | 2012-02-16 18:05:09 +0000 |
commit | f8e1473b658086da4ae7a6b1b05990195c5540cc (patch) | |
tree | 568db50a95b8b519004ea19d3b66ce77a9d8db08 /converters | |
parent | d86fc9269364a575bcdab981959a21ab4c2812b9 (diff) | |
download | pkgsrc-f8e1473b658086da4ae7a6b1b05990195c5540cc.tar.gz |
Fix build on SunOS.
Diffstat (limited to 'converters')
-rw-r--r-- | converters/odt2txt/Makefile | 4 | ||||
-rw-r--r-- | converters/py-zfec/Makefile | 4 | ||||
-rw-r--r-- | converters/yencode/Makefile | 5 |
3 files changed, 10 insertions, 3 deletions
diff --git a/converters/odt2txt/Makefile b/converters/odt2txt/Makefile index 603d6dadc61..c4d304524c8 100644 --- a/converters/odt2txt/Makefile +++ b/converters/odt2txt/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2011/11/26 04:39:27 sbd Exp $ +# $NetBSD: Makefile,v 1.5 2012/02/16 18:05:09 hans Exp $ # DISTNAME= odt2txt-0.4 @@ -17,6 +17,8 @@ USE_TOOLS+= gmake INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1 +LDFLAGS.SunOS+= -liconv + .include "../../converters/libiconv/buildlink3.mk" .include "../../devel/zlib/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/converters/py-zfec/Makefile b/converters/py-zfec/Makefile index 5526c3dd7b7..e40e4b31a46 100644 --- a/converters/py-zfec/Makefile +++ b/converters/py-zfec/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2012/02/12 19:55:09 gls Exp $ +# $NetBSD: Makefile,v 1.8 2012/02/16 18:06:45 hans Exp $ # DISTNAME= zfec-1.4.22 @@ -18,6 +18,8 @@ DEPENDS+= ${PYPKGPREFIX}-darcsver-[0-9]*:../../devel/py-darcsver DEPENDS+= ${PYPKGPREFIX}-setuptools_trial-[0-9]*:../../devel/py-setuptools_trial DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat +CFLAGS.SunOS+= -std=c99 -D_XOPEN_SOURCE=600 + REPLACE_INTERPRETER+= python REPLACE.python.old= /usr/bin/env python REPLACE.python.new= ${PYTHONBIN} diff --git a/converters/yencode/Makefile b/converters/yencode/Makefile index 32bb03f75e6..1e4bc147f9b 100644 --- a/converters/yencode/Makefile +++ b/converters/yencode/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2011/04/22 13:43:12 obache Exp $ +# $NetBSD: Makefile,v 1.14 2012/02/16 18:08:49 hans Exp $ # DISTNAME= yencode-0.46 @@ -15,5 +15,8 @@ PKG_DESTDIR_SUPPORT= user-destdir GNU_CONFIGURE= YES +CFLAGS.SunOS+= -Du_int64_t=uint64_t +LIBS.SunOS+= -lsocket -lnsl + .include "../../devel/gettext-lib/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |