summaryrefslogtreecommitdiff
path: root/editors/vim-xaw
diff options
context:
space:
mode:
authormorr <morr>2012-12-18 23:30:36 +0000
committermorr <morr>2012-12-18 23:30:36 +0000
commit6bf97c758b0c748f64d2705ee5f8c8cb7b1319fe (patch)
treef5b6e6d86ba62d3dbc13361f9f1699f22696937d /editors/vim-xaw
parentd79c522434f9ac75f5b691a7d990d1343c60de21 (diff)
downloadpkgsrc-6bf97c758b0c748f64d2705ee5f8c8cb7b1319fe.tar.gz
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 (limited to 'editors/vim-xaw')
-rw-r--r--editors/vim-xaw/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/editors/vim-xaw/Makefile b/editors/vim-xaw/Makefile
index b1d6c7bc3ca..ad83dff7260 100644
--- a/editors/vim-xaw/Makefile
+++ b/editors/vim-xaw/Makefile
@@ -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 @@ XAW_TYPE= standard
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