diff options
author | ryoon <ryoon> | 2013-07-30 13:28:40 +0000 |
---|---|---|
committer | ryoon <ryoon> | 2013-07-30 13:28:40 +0000 |
commit | 4e14d00055825dca4fc3e19b8e2ee7a96aad5c35 (patch) | |
tree | ec252821b4ec09bf806e7d926c5aa24d9bea054b /devel | |
parent | 607fd9cf9c3b45bbb2c21d5fa98fd2ebbb5d7e2b (diff) | |
download | pkgsrc-4e14d00055825dca4fc3e19b8e2ee7a96aad5c35.tar.gz |
Fix build on Cygwin.
* Remove -Wl,--disable-auto-import option. With this option, I have gotten
"undefined reference to environ" error.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/gettext-tools/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/devel/gettext-tools/Makefile b/devel/gettext-tools/Makefile index 058c85b6bfd..d4606268045 100644 --- a/devel/gettext-tools/Makefile +++ b/devel/gettext-tools/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.20 2013/01/31 21:45:05 adam Exp $ +# $NetBSD: Makefile,v 1.21 2013/07/30 13:28:40 ryoon Exp $ .include "../../devel/gettext/Makefile.common" @@ -27,6 +27,11 @@ INFO_FILES= yes BROKEN_GETTEXT_DETECTION= yes USE_BUILTIN.gettext= no # force use of pkgsrc gettext-lib +.include "../../mk/bsd.prefs.mk" +.if ${OPSYS} == "Cygwin" +BUILDLINK_TRANSFORM+= rm:-Wl,--disable-auto-import +.endif + post-install: cd ${WRKSRC}/gettext-tools/misc && ${MAKE} install DESTDIR=${DESTDIR} ${INSTALL_MAN} ${WRKSRC}/gettext-tools/man/autopoint.1 \ |