pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/mustach
Module Name: pkgsrc
Committed By: sjmulder
Date: Sun Dec 29 21:47:00 UTC 2019
Modified Files:
pkgsrc/devel/mustach: Makefile
Log Message:
devel/mustach: set install_name to fix macOS build
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/mustach/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/mustach/Makefile
diff -u pkgsrc/devel/mustach/Makefile:1.2 pkgsrc/devel/mustach/Makefile:1.3
--- pkgsrc/devel/mustach/Makefile:1.2 Wed Dec 25 17:34:31 2019
+++ pkgsrc/devel/mustach/Makefile Sun Dec 29 21:46:59 2019
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2019/12/25 17:34:31 sjmulder Exp $
+# $NetBSD: Makefile,v 1.3 2019/12/29 21:46:59 sjmulder Exp $
DISTNAME= mustach-0.99
PKGREVISION= 1
@@ -15,5 +15,15 @@ LICENSE= apache-2.0
# Workaround is portable, might as well use it everywhere.
CFLAGS+= -DNO_OPEN_MEMSTREAM
+# install_name must be set on macOS. Upstream PR:
+# https://gitlab.com/jobol/mustach/merge_requests/16
+.if ${OPSYS} == "Darwin"
+.PHONY: fix-darwin-install-name
+post-install: fix-darwin-install-name
+fix-darwin-install-name:
+ install_name_tool -id ${PREFIX}/lib/libmustach.so \
+ ${DESTDIR}${PREFIX}/lib/libmustach.so
+.endif
+
.include "../../textproc/json-c/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index