pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/p5-Text-BibTeX textproc/p5-Text-BibTeX: Make ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/83c1ccab88aa
branches:  trunk
changeset: 310963:83c1ccab88aa
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Sat Jul 28 12:53:53 2018 +0000

description:
textproc/p5-Text-BibTeX: Make this package build on Darwin

install_name_tool fails if target files are read-only.  Make them
user-writable before running install_name_tool.

diffstat:

 textproc/p5-Text-BibTeX/Makefile |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r b7a5492cc930 -r 83c1ccab88aa textproc/p5-Text-BibTeX/Makefile
--- a/textproc/p5-Text-BibTeX/Makefile  Sat Jul 28 12:29:53 2018 +0000
+++ b/textproc/p5-Text-BibTeX/Makefile  Sat Jul 28 12:53:53 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.48 2017/09/04 12:37:13 wiz Exp $
+# $NetBSD: Makefile,v 1.49 2018/07/28 12:53:53 minskim Exp $
 
 DISTNAME=      Text-BibTeX-0.85
 PKGNAME=       p5-${DISTNAME}
@@ -25,5 +25,13 @@
 pre-configure:
        ${MKDIR} ${WRKDIR}/tmp
 
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "Darwin"
+post-build:
+.for f in bin/biblex bin/bibparse bin/dumpnames usrlib/libbtparse.dylib
+       ${CHMOD} u+w ${WRKSRC}/blib/${f}
+.endfor
+.endif
+
 .include "../../lang/perl5/module.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index