pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/giflib graphics/giflib: Fix install_name on D...
details: https://anonhg.NetBSD.org/pkgsrc/rev/528f170e9b69
branches: trunk
changeset: 408054:528f170e9b69
user: minskim <minskim%pkgsrc.org@localhost>
date: Mon Jan 13 07:20:17 2020 +0000
description:
graphics/giflib: Fix install_name on Darwin
diffstat:
graphics/giflib/Makefile | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
diffs (25 lines):
diff -r e15a587f52bb -r 528f170e9b69 graphics/giflib/Makefile
--- a/graphics/giflib/Makefile Mon Jan 13 06:52:57 2020 +0000
+++ b/graphics/giflib/Makefile Mon Jan 13 07:20:17 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.51 2020/01/11 13:33:31 schmonz Exp $
+# $NetBSD: Makefile,v 1.52 2020/01/13 07:20:17 minskim Exp $
.include "Makefile.common"
PKGREVISION= 1
@@ -10,4 +10,15 @@
INSTALL_TARGET= install-include
INSTALL_TARGET+= install-lib
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "Darwin"
+.PHONY: fix-darwin-install-name
+post-install: fix-darwin-install-name
+fix-darwin-install-name:
+. for lib in libgif.7.2.0.dylib libgifutil.dylib
+ install_name_tool -id ${PREFIX}/lib/${lib} ${DESTDIR}${PREFIX}/lib/${lib}
+. endfor
+.endif
+
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index