aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
Diffstat (limited to 'x11')
-rw-r--r--x11/XFree86-4-clients/scripts/configure1
-rw-r--r--x11/XFree86-4-libraries/files/patch-Imake.rules25
2 files changed, 23 insertions, 3 deletions
diff --git a/x11/XFree86-4-clients/scripts/configure b/x11/XFree86-4-clients/scripts/configure
index 6c959040d2ba..aa0c4e7dd580 100644
--- a/x11/XFree86-4-clients/scripts/configure
+++ b/x11/XFree86-4-clients/scripts/configure
@@ -67,6 +67,7 @@ echo "#define StandardIncludes -I$PREFIX/include" >> $LOCALDEF
echo "#define DontUseLibPathVar YES" >> $LOCALDEF
echo "#define PreloadSetup" >> $LOCALDEF
echo "#define UseInstalledPrograms YES" >> $LOCALDEF
+echo "#define UseInstalledLibraries YES" >> $LOCALDEF
# Copy ORIGDEF to DESTDEF
rm -f $DESTDEF
diff --git a/x11/XFree86-4-libraries/files/patch-Imake.rules b/x11/XFree86-4-libraries/files/patch-Imake.rules
index edd940aa23bd..deea1cb886a6 100644
--- a/x11/XFree86-4-libraries/files/patch-Imake.rules
+++ b/x11/XFree86-4-libraries/files/patch-Imake.rules
@@ -1,5 +1,5 @@
---- config/cf/Imake.rules.orig Thu Jan 2 14:43:27 2003
-+++ config/cf/Imake.rules Thu Jan 2 14:49:12 2003
+--- config/cf/Imake.rules.orig Mon Dec 9 15:00:42 2002
++++ config/cf/Imake.rules Mon Oct 13 17:04:19 2003
@@ -1406,7 +1406,7 @@
* this Imakefile is within the source tree.
*/
@@ -36,7 +36,26 @@
#define ImakeDependency(target) /**/
#else
#define ImakeDependency(target) @@\
-@@ -3126,6 +3126,9 @@
+@@ -2066,11 +2066,18 @@
+ * ProjectUnsharedLibReferences - variables for unshared libraries
+ */
+ #ifndef ProjectUnsharedLibReferences
++#if defined(UseInstalledLibraries)
++#define ProjectUnsharedLibReferences(varname,libname,libsource,buildlibdir) @@\
++Concat3(DEP,varname,LIB) = @@\
++Concat(varname,LIB) = LoaderLibPrefix Concat(-l,libname) @@\
++LintLibReferences(varname,libname,libsource)
++#else
+ #define ProjectUnsharedLibReferences(varname,libname,libsource,buildlibdir) @@\
+ Concat3(DEP,varname,LIB) = _UseCat($(USRLIBDIR)/,buildlibdir/,LibraryTargetName(libname)) @@\
+ Concat(varname,LIB) = LoaderLibPrefix Concat(-l,libname) @@\
+ LintLibReferences(varname,libname,libsource)
+ #endif
++#endif
+
+ /*
+ * ProjectUnsharedFontLibReferences - unshared font libraries
+@@ -3126,6 +3133,9 @@
#ifdef UseInstalled
#define ImakeSubCmdHelper $(IMAKE_CMD)