diff options
author | Eric Anholt <anholt@FreeBSD.org> | 2003-10-14 00:45:30 +0000 |
---|---|---|
committer | Eric Anholt <anholt@FreeBSD.org> | 2003-10-14 00:45:30 +0000 |
commit | 02d69ca9feffbbeaa5b6314d3d8b8d6a9e16f2db (patch) | |
tree | 546305641dc04dfa81f26c4136353c7e2587d998 | |
parent | Update lemon to the latest version in the SQLite repo. Please let me know (diff) |
Fix XFree86-4-clients build. It was failing depending on lib*.a which weren't
being built due to the split build. Remove the dependencies on them, and it'll
pick them up from ${X11BASE}/lib. I don't know why this broke now but worked
in the past.
Reported by: everyone
Tested on: ref5 (libraries,clients)
Notes
Notes:
svn path=/head/; revision=91120
-rw-r--r-- | x11/XFree86-4-clients/scripts/configure | 1 | ||||
-rw-r--r-- | x11/XFree86-4-libraries/files/patch-Imake.rules | 25 |
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) |