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/cbb96a5a87c3
branches:  trunk
changeset: 383338:cbb96a5a87c3
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 32f6dad7d26f -r cbb96a5a87c3 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