gettext: define stpncpy if not defined.

Allow to build on Mac OS.
parent c33d53e4
......@@ -6,6 +6,13 @@ extends =
../libxml2/buildout.cfg
../zlib/buildout.cfg
[gettext-mac-stpncpy]
recipe = hexagonit.recipe.download
url = https://trac.macports.org/export/79617/trunk/dports/devel/gettext/files/stpncpy.patch
md5sum = caa389f01337c579547b15acccf77d35
filename = gettext-mac-stpncpy.patch
download-only = true
[gettext]
recipe = hexagonit.recipe.cmmi
url = http://ftp.gnu.org/pub/gnu/gettext/gettext-0.18.1.1.tar.gz
......@@ -21,7 +28,7 @@ configure-options =
--disable-acl
--disable-openmp
--without-git
patches = ${gettext-mac-stpncpy:location}/${gettext-mac-stpncpy:filename}
environment =
CPPFLAGS=-I${libxml2:location}/include -I${zlib:location}/include -I${ncurses:location}/include
LDFLAGS=-L${libxml2:location}/lib -Wl,-rpath,${libxml2:location}/lib -L${zlib:location}/lib -Wl,-rpath,${zlib:location}/lib -L${ncurses:location}/lib -Wl,-rpath,${ncurses:location}/lib
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment