pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/giflib



Module Name:    pkgsrc
Committed By:   minskim
Date:           Mon Jan 13 07:20:17 UTC 2020

Modified Files:
        pkgsrc/graphics/giflib: Makefile

Log Message:
graphics/giflib: Fix install_name on Darwin


To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 pkgsrc/graphics/giflib/Makefile

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

Modified files:

Index: pkgsrc/graphics/giflib/Makefile
diff -u pkgsrc/graphics/giflib/Makefile:1.51 pkgsrc/graphics/giflib/Makefile:1.52
--- pkgsrc/graphics/giflib/Makefile:1.51        Sat Jan 11 13:33:31 2020
+++ pkgsrc/graphics/giflib/Makefile     Mon Jan 13 07:20:17 2020
@@ -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 @@ CONFLICTS+=  libungif-[0-9]*
 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