summaryrefslogtreecommitdiff
path: root/graphics/ivtools/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/ivtools/patches/patch-ac')
-rw-r--r--graphics/ivtools/patches/patch-ac24
1 files changed, 23 insertions, 1 deletions
diff --git a/graphics/ivtools/patches/patch-ac b/graphics/ivtools/patches/patch-ac
index 7c29144a973..9eaba72e56d 100644
--- a/graphics/ivtools/patches/patch-ac
+++ b/graphics/ivtools/patches/patch-ac
@@ -1,4 +1,4 @@
-$NetBSD: patch-ac,v 1.3 2007/06/21 11:55:32 markd Exp $
+$NetBSD: patch-ac,v 1.4 2010/04/05 22:52:23 markd Exp $
--- config/site.def.NETBSD.orig 2003-10-22 18:13:39.000000000 +0000
+++ config/site.def.NETBSD
@@ -21,3 +21,25 @@ $NetBSD: patch-ac,v 1.3 2007/06/21 11:55:32 markd Exp $
/*
* Install a shared library on NetBSD.
+@@ -46,15 +46,15 @@
+ #ifndef InstallDynamicSharedLibrary
+ #define InstallDynamicSharedLibrary(libname,rev,dest) @@\
+ install:: Concat(lib,libname.so.rev) @@\
+- MakeDir(dest) @@\
+- $(INSTALL) -c $(INSTLIBFLAGS) Concat(lib,libname.so.rev) dest @@\
+- -@$(RM) dest/Concat(lib,libname.so) @@\
+- -@(cd dest;$(LN) Concat(lib,libname.so.rev) \ @@\
++ MakeDir($(DESTDIR)dest) @@\
++ $(INSTALL) -c $(INSTLIBFLAGS) Concat(lib,libname.so.rev) $(DESTDIR)dest @@\
++ -@$(RM) $(DESTDIR)dest/Concat(lib,libname.so) @@\
++ -@(cd $(DESTDIR)dest;$(LN) Concat(lib,libname.so.rev) \ @@\
+ Concat(lib,libname.so)) @@\
+ @@\
+ uninstall:: @@\
+- $(RM) dest/Concat(lib,libname.so.rev) @@\
+- $(RM) dest/Concat(lib,libname.so)
++ $(RM) $(DESTDIR)dest/Concat(lib,libname.so.rev) @@\
++ $(RM) $(DESTDIR)dest/Concat(lib,libname.so)
+ #endif
+
+ #ifndef ImakeFlags