pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/erlang-fast_xml Include a non-versioned symli...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/118c570183cb
branches:  trunk
changeset: 356677:118c570183cb
user:      fhajny <fhajny%pkgsrc.org@localhost>
date:      Tue Jan 03 17:48:52 2017 +0000

description:
Include a non-versioned symlink to work for includes. PKGREVISION++

diffstat:

 textproc/erlang-fast_xml/Makefile |  7 ++++++-
 textproc/erlang-fast_xml/PLIST    |  3 ++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diffs (33 lines):

diff -r f4226d2d5c85 -r 118c570183cb textproc/erlang-fast_xml/Makefile
--- a/textproc/erlang-fast_xml/Makefile Tue Jan 03 17:47:56 2017 +0000
+++ b/textproc/erlang-fast_xml/Makefile Tue Jan 03 17:48:52 2017 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2017/01/03 10:25:04 fhajny Exp $
+# $NetBSD: Makefile,v 1.4 2017/01/03 17:48:52 fhajny Exp $
 
 DISTNAME=      fast_xml-1.1.18
+PKGREVISION=   1
 CATEGORIES=    textproc
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=processone/}
 
@@ -15,6 +16,10 @@
 
 GNU_CONFIGURE= yes
 
+# Leave a non-versioned symlink in place for includes
+post-install:
+       ${LN} -sf ${DISTNAME} ${DESTDIR}${PREFIX}/lib/erlang/lib/fast_xml
+
 .include "../../textproc/expat/buildlink3.mk"
 .include "../../lang/erlang/module.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r f4226d2d5c85 -r 118c570183cb textproc/erlang-fast_xml/PLIST
--- a/textproc/erlang-fast_xml/PLIST    Tue Jan 03 17:47:56 2017 +0000
+++ b/textproc/erlang-fast_xml/PLIST    Tue Jan 03 17:48:52 2017 +0000
@@ -1,4 +1,5 @@
-@comment $NetBSD: PLIST,v 1.2 2016/08/12 09:34:59 fhajny Exp $
+@comment $NetBSD: PLIST,v 1.3 2017/01/03 17:48:52 fhajny Exp $
+lib/erlang/lib/fast_xml
 lib/erlang/lib/fast_xml-${PKGVERSION}/ebin/fast_xml.app
 lib/erlang/lib/fast_xml-${PKGVERSION}/ebin/fast_xml.beam
 lib/erlang/lib/fast_xml-${PKGVERSION}/ebin/fxml.beam



Home | Main Index | Thread Index | Old Index