pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/editors/vim-xaw Workaround too much linking. Use link....



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5249fd41e7ca
branches:  trunk
changeset: 612353:5249fd41e7ca
user:      morr <morr%pkgsrc.org@localhost>
date:      Tue Dec 18 23:30:36 2012 +0000

description:
Workaround too much linking. Use link.sh instead of --as-needed fro linker
until I'll find proper solution.

Should help with PR 47281.

diffstat:

 editors/vim-xaw/Makefile |  10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r a11280d056bb -r 5249fd41e7ca editors/vim-xaw/Makefile
--- a/editors/vim-xaw/Makefile  Tue Dec 18 22:27:10 2012 +0000
+++ b/editors/vim-xaw/Makefile  Tue Dec 18 23:30:36 2012 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.53 2012/10/03 11:43:47 asau Exp $
+# $NetBSD: Makefile,v 1.54 2012/12/18 23:30:36 morr Exp $
 
 PKGNAME=               vim-xaw-${VIM_VERSION}.${VIM_PATCHLEVEL}
-
+PKGREVISION=           1
 COMMENT=               Vim editor (vi clone) with X11 Athena GUI
 
 .include               "../../editors/vim-share/Makefile.common"
@@ -27,6 +27,12 @@
 MAKE_ENV+=             XAW_LIB="Xaw"
 .endif
 
+SUBST_CLASSES+=                        fix-linking
+SUBST_STAGE.fix-linking=       post-configure
+SUBST_MESSAGE.fix-linking=     Fixing linking
+SUBST_FILES.fix-linking=       auto/config.mk
+SUBST_SED.fix-linking=         -e 's,LINK_AS_NEEDED   = .*,LINK_AS_NEEDED = no,g'
+
 LIBS+=                 -lXaw
 
 CHECK_INTERPRETER_SKIP+=${PKGMANDIR}/man1/gvim.1 ${PKGMANDIR}/man1/gview.1



Home | Main Index | Thread Index | Old Index