diff options
author | anholt <anholt@FreeBSD.org> | 2004-05-29 09:04:23 +0800 |
---|---|---|
committer | anholt <anholt@FreeBSD.org> | 2004-05-29 09:04:23 +0800 |
commit | 1f2647855635bbef0cfc6fbb5e7769951c9c9650 (patch) | |
tree | 53eb4a90f7be26cbe61869290a701ae187c9c6e2 /x11-servers | |
parent | fa287ccd402233a0b77d383f21bb05afa5d98001 (diff) | |
download | freebsd-ports-gnome-1f2647855635bbef0cfc6fbb5e7769951c9c9650.tar.gz freebsd-ports-gnome-1f2647855635bbef0cfc6fbb5e7769951c9c9650.tar.zst freebsd-ports-gnome-1f2647855635bbef0cfc6fbb5e7769951c9c9650.zip |
Add some more patches based on XFree86-4-libraries/files, for the
xorg-libraries and -clients ports.
Diffstat (limited to 'x11-servers')
-rw-r--r-- | x11-servers/xorg-server-snap/Makefile.inc | 4 | ||||
-rw-r--r-- | x11-servers/xorg-server-snap/files/patch-Library.tmpl | 21 | ||||
-rw-r--r-- | x11-servers/xorg-server-snap/files/patch-X11.tmpl | 26 | ||||
-rw-r--r-- | x11-servers/xorg-server/Makefile.inc | 4 | ||||
-rw-r--r-- | x11-servers/xorg-server/files/patch-Library.tmpl | 21 | ||||
-rw-r--r-- | x11-servers/xorg-server/files/patch-X11.tmpl | 26 |
6 files changed, 100 insertions, 2 deletions
diff --git a/x11-servers/xorg-server-snap/Makefile.inc b/x11-servers/xorg-server-snap/Makefile.inc index b396e22303bf..6c5af3b29c06 100644 --- a/x11-servers/xorg-server-snap/Makefile.inc +++ b/x11-servers/xorg-server-snap/Makefile.inc @@ -28,7 +28,9 @@ _XINCLUDE_DIRS= include ${XBUILD_DIRS} ${XINCLUDE_DIRS} CF_PATCHES= ${PORTSDIR}/x11-servers/xorg-server/files/patch-FreeBSD.cf \ ${PORTSDIR}/x11-servers/xorg-server/files/patch-Imake.rules \ - ${PORTSDIR}/x11-servers/xorg-server/files/patch-Imake.tmpl + ${PORTSDIR}/x11-servers/xorg-server/files/patch-Imake.tmpl \ + ${PORTSDIR}/x11-servers/xorg-server/files/patch-Library.tmpl \ + ${PORTSDIR}/x11-servers/xorg-server/files/patch-X11.tmpl .if !target(do-configure) do-configure: diff --git a/x11-servers/xorg-server-snap/files/patch-Library.tmpl b/x11-servers/xorg-server-snap/files/patch-Library.tmpl new file mode 100644 index 000000000000..bbebc76c13e0 --- /dev/null +++ b/x11-servers/xorg-server-snap/files/patch-Library.tmpl @@ -0,0 +1,21 @@ +--- config/cf/Library.tmpl.orig Mon Aug 27 10:40:55 2001 ++++ config/cf/Library.tmpl Wed Oct 16 21:53:13 2002 +@@ -300,6 +300,10 @@ + */ + + #ifndef MakeStringsDependency ++#if defined(UseInstalled) || defined(UseInstalledPrograms) ++#define MakeStringsDependency @@\ ++MAKESTRS = makestrs ++#else + # define MakeStringsDependency @@\ + MAKESTRS = $(CONFIGSRC)/util/makestrs @@\ + NoCmpScript(HostProgramTargetName($(MAKESTRS)) $(MAKESTRS).Osuf) @@\ +@@ -308,6 +312,7 @@ + cd $(CONFIGSRC)/util && $(MAKE) HostProgramTargetName(makestrs) @@\ + @@\ + includes:: HostProgramTargetName($(MAKESTRS)) ++#endif + #endif + + #ifndef ToolkitMakeStrings diff --git a/x11-servers/xorg-server-snap/files/patch-X11.tmpl b/x11-servers/xorg-server-snap/files/patch-X11.tmpl new file mode 100644 index 000000000000..a4c2f4348f58 --- /dev/null +++ b/x11-servers/xorg-server-snap/files/patch-X11.tmpl @@ -0,0 +1,26 @@ +--- config/cf/X11.tmpl.orig Fri Apr 2 13:47:10 2004 ++++ config/cf/X11.tmpl Thu May 27 20:52:39 2004 +@@ -576,7 +576,7 @@ + #define BuildXft1Library BuildRenderLibrary + #endif + #ifndef UseFontconfig +-#define UseFontconfig BuildXftLibrary ++#define UseFontconfig (BuildXftLibrary || BuildXft1Library) + #endif + #ifndef BuildFontconfigLibrary + #define BuildFontconfigLibrary (UseFontconfig && !HasFontconfig) +@@ -1543,7 +1543,14 @@ + #endif + + #ifndef PsWrap ++#if defined(UseInstalled) || defined(UseInstalledPrograms) ++#define PsWrap pswrap ++#define PsWrapDependency /**/ ++#else + #define PsWrap $(PSWRAPSRC)/pswrap ++#define PsWrapDependency HostProgramTargetName($(PSWRAP)) ++#endif ++ PSWRAP = PsWrap + #endif + + #ifndef ResourceConfigurationManagement diff --git a/x11-servers/xorg-server/Makefile.inc b/x11-servers/xorg-server/Makefile.inc index b396e22303bf..6c5af3b29c06 100644 --- a/x11-servers/xorg-server/Makefile.inc +++ b/x11-servers/xorg-server/Makefile.inc @@ -28,7 +28,9 @@ _XINCLUDE_DIRS= include ${XBUILD_DIRS} ${XINCLUDE_DIRS} CF_PATCHES= ${PORTSDIR}/x11-servers/xorg-server/files/patch-FreeBSD.cf \ ${PORTSDIR}/x11-servers/xorg-server/files/patch-Imake.rules \ - ${PORTSDIR}/x11-servers/xorg-server/files/patch-Imake.tmpl + ${PORTSDIR}/x11-servers/xorg-server/files/patch-Imake.tmpl \ + ${PORTSDIR}/x11-servers/xorg-server/files/patch-Library.tmpl \ + ${PORTSDIR}/x11-servers/xorg-server/files/patch-X11.tmpl .if !target(do-configure) do-configure: diff --git a/x11-servers/xorg-server/files/patch-Library.tmpl b/x11-servers/xorg-server/files/patch-Library.tmpl new file mode 100644 index 000000000000..bbebc76c13e0 --- /dev/null +++ b/x11-servers/xorg-server/files/patch-Library.tmpl @@ -0,0 +1,21 @@ +--- config/cf/Library.tmpl.orig Mon Aug 27 10:40:55 2001 ++++ config/cf/Library.tmpl Wed Oct 16 21:53:13 2002 +@@ -300,6 +300,10 @@ + */ + + #ifndef MakeStringsDependency ++#if defined(UseInstalled) || defined(UseInstalledPrograms) ++#define MakeStringsDependency @@\ ++MAKESTRS = makestrs ++#else + # define MakeStringsDependency @@\ + MAKESTRS = $(CONFIGSRC)/util/makestrs @@\ + NoCmpScript(HostProgramTargetName($(MAKESTRS)) $(MAKESTRS).Osuf) @@\ +@@ -308,6 +312,7 @@ + cd $(CONFIGSRC)/util && $(MAKE) HostProgramTargetName(makestrs) @@\ + @@\ + includes:: HostProgramTargetName($(MAKESTRS)) ++#endif + #endif + + #ifndef ToolkitMakeStrings diff --git a/x11-servers/xorg-server/files/patch-X11.tmpl b/x11-servers/xorg-server/files/patch-X11.tmpl new file mode 100644 index 000000000000..a4c2f4348f58 --- /dev/null +++ b/x11-servers/xorg-server/files/patch-X11.tmpl @@ -0,0 +1,26 @@ +--- config/cf/X11.tmpl.orig Fri Apr 2 13:47:10 2004 ++++ config/cf/X11.tmpl Thu May 27 20:52:39 2004 +@@ -576,7 +576,7 @@ + #define BuildXft1Library BuildRenderLibrary + #endif + #ifndef UseFontconfig +-#define UseFontconfig BuildXftLibrary ++#define UseFontconfig (BuildXftLibrary || BuildXft1Library) + #endif + #ifndef BuildFontconfigLibrary + #define BuildFontconfigLibrary (UseFontconfig && !HasFontconfig) +@@ -1543,7 +1543,14 @@ + #endif + + #ifndef PsWrap ++#if defined(UseInstalled) || defined(UseInstalledPrograms) ++#define PsWrap pswrap ++#define PsWrapDependency /**/ ++#else + #define PsWrap $(PSWRAPSRC)/pswrap ++#define PsWrapDependency HostProgramTargetName($(PSWRAP)) ++#endif ++ PSWRAP = PsWrap + #endif + + #ifndef ResourceConfigurationManagement |