Date: Wed, 20 Aug 2014 23:36:35 +0000 (UTC) From: John Marino <marino@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r365520 - in head/chinese/sunpinyin: . files Message-ID: <201408202336.s7KNaZTc091836@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: marino Date: Wed Aug 20 23:36:35 2014 New Revision: 365520 URL: http://svnweb.freebsd.org/changeset/ports/365520 QAT: https://qat.redports.org/buildarchive/r365520/ Log: Stage chinese/sunpinyin and unbreak on FreeBSD 10+ PR: 192844 Submitted by: Henry Hu Added: head/chinese/sunpinyin/files/patch-src_portability.h (contents, props changed) Modified: head/chinese/sunpinyin/Makefile Modified: head/chinese/sunpinyin/Makefile ============================================================================== --- head/chinese/sunpinyin/Makefile Wed Aug 20 23:19:35 2014 (r365519) +++ head/chinese/sunpinyin/Makefile Wed Aug 20 23:36:35 2014 (r365520) @@ -24,10 +24,13 @@ MAKE_ARGS+= --prefix=${PREFIX} --libdata USE_LDCONFIG= yes USES= scons gmake iconv pkgconfig tar:xz LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB} +INSTALL_TARGET= install --install-sandbox=${STAGEDIR} -NO_STAGE= yes post-patch: @${CP} ${_DISTDIR}/lm_sc.t3g.arpa.tar.bz2 \ ${_DISTDIR}/dict.utf8.tar.bz2 ${WRKSRC}/raw +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libsunpinyin.so.3.0 + .include <bsd.port.mk> Added: head/chinese/sunpinyin/files/patch-src_portability.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/chinese/sunpinyin/files/patch-src_portability.h Wed Aug 20 23:36:35 2014 (r365520) @@ -0,0 +1,10 @@ +--- src/portability.h.orig 2014-08-19 21:12:42.000000000 -0400 ++++ src/portability.h 2014-08-19 21:12:51.000000000 -0400 +@@ -42,6 +42,7 @@ + #include <stdio.h> + #include <math.h> + #include <stdint.h> ++#include <stdlib.h> + #include <string> + #include <cstring> +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408202336.s7KNaZTc091836>