mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 17:59:07 -04:00
27 lines
1.2 KiB
Plaintext
27 lines
1.2 KiB
Plaintext
$NetBSD: patch-bi,v 1.1 2010/04/05 22:52:23 markd Exp $
|
|
|
|
--- config/site.def.FREEBSD.orig 2003-10-22 18:13:39.000000000 +0000
|
|
+++ config/site.def.FREEBSD
|
|
@@ -43,15 +43,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
|
|
|
|
/* file output by configure script */
|