pkgsrc/x11/xorg-cf-files/patches/patch-ah
joerg 9765e41589 Drop imake-check logic from X11 components' builtin.mk.
Always use xorg-cf-files and imake from pkgsrc, replacing xpkgwedge.
Always install man pages, not cat pages when using imake.
Unify the various imake PLIST variables in preparation for dropping.
Adjust xbattbar for the new expectations.
2012-03-19 12:34:12 +00:00

29 lines
965 B
Text

$NetBSD: patch-ah,v 1.2 2012/03/19 12:34:24 joerg Exp $
--- bsdLib.rules.orig 2006-02-03 04:02:44.000000000 +0100
+++ bsdLib.rules
@@ -192,7 +192,11 @@ LintLibReferences(varname,libname,libsou
#endif
#ifndef RpathLoadFlags
#if UseRpath
-#define RpathLoadFlags -Wl,-rpath,$(USRLIBDIRPATH)
+# ifdef RealProjectRoot
+# define RpathLoadFlags -Wl,-rpath,$(USRLIBDIRPATH) -Wl,-rpath,$(REALPROJECTROOT)/lib -L $(REALPROJECTROOT)/lib
+# else
+# define RpathLoadFlags -Wl,-rpath,$(USRLIBDIRPATH)
+# endif
#else
#define RpathLoadFlags /**/
#endif
@@ -229,11 +233,7 @@ LintLibReferences(varname,libname,libsou
* InstallSharedLibrary - generate rules to install the shared library.
* NOTE: file must be executable, hence "INSTBINFLAGS"
*/
-#if !defined(FreeBSDArchitecture) || defined(DragonFlyArchitecture)
INSTALLMINORREV = true
-#else
-INSTALLMINORREV = false
-#endif
#ifndef InstallSharedLibrary
#define InstallSharedLibrary(libname,rev,dest) @@\