pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/p5-Text-BibTeX



Module Name:    pkgsrc
Committed By:   minskim
Date:           Sat Jul 28 12:53:53 UTC 2018

Modified Files:
        pkgsrc/textproc/p5-Text-BibTeX: Makefile

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 pkgsrc/textproc/p5-Text-BibTeX/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/p5-Text-BibTeX/Makefile
diff -u pkgsrc/textproc/p5-Text-BibTeX/Makefile:1.48 pkgsrc/textproc/p5-Text-BibTeX/Makefile:1.49
--- pkgsrc/textproc/p5-Text-BibTeX/Makefile:1.48        Mon Sep  4 12:37:13 2017
+++ pkgsrc/textproc/p5-Text-BibTeX/Makefile     Sat Jul 28 12:53:53 2018
@@ -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 @@ ALL_ENV+=    TMPDIR=${WRKDIR}/tmp
 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