aboutsummaryrefslogtreecommitdiffstats
path: root/x11-servers
diff options
context:
space:
mode:
authoranholt <anholt@FreeBSD.org>2004-05-31 10:56:22 +0800
committeranholt <anholt@FreeBSD.org>2004-05-31 10:56:22 +0800
commit55ef48f3c71c8b0d5431206bc8c09bea2dfae6c7 (patch)
treef37b6ed7cc276d3f3e8d5a98da1a6d75131c5689 /x11-servers
parent1afdfbfb90826c53abd808c143237afbb727a389 (diff)
downloadfreebsd-ports-gnome-55ef48f3c71c8b0d5431206bc8c09bea2dfae6c7.tar.gz
freebsd-ports-gnome-55ef48f3c71c8b0d5431206bc8c09bea2dfae6c7.tar.zst
freebsd-ports-gnome-55ef48f3c71c8b0d5431206bc8c09bea2dfae6c7.zip
- Only set XFREE86_HTML_MAN if there are going to be manpages installed
(XMAN_DIRS is set). - Remove spammed-in configure.gen.pre - Pass thread flags/libs to configure like should have been done - Add changes to config/cf/* for the fonts ports.
Diffstat (limited to 'x11-servers')
-rw-r--r--x11-servers/xorg-server-snap/Makefile.inc7
-rw-r--r--x11-servers/xorg-server-snap/files/patch-X11.rules17
-rw-r--r--x11-servers/xorg-server-snap/files/patch-X11.tmpl11
-rw-r--r--x11-servers/xorg-server-snap/scripts/configure.gen.pre14
-rw-r--r--x11-servers/xorg-server/Makefile.inc7
-rw-r--r--x11-servers/xorg-server/files/patch-X11.rules17
-rw-r--r--x11-servers/xorg-server/files/patch-X11.tmpl11
-rw-r--r--x11-servers/xorg-server/scripts/configure.gen.pre14
8 files changed, 68 insertions, 30 deletions
diff --git a/x11-servers/xorg-server-snap/Makefile.inc b/x11-servers/xorg-server-snap/Makefile.inc
index 6c5af3b29c06..a2a51d9857a0 100644
--- a/x11-servers/xorg-server-snap/Makefile.inc
+++ b/x11-servers/xorg-server-snap/Makefile.inc
@@ -18,10 +18,16 @@ USE_X_PREFIX?= no
PREFIX?= ${X11BASE}
USE_IMAKE= YES
+.if defined(XMAN_DIRS)
XFREE86_HTML_MAN?= yes
+.else
+XFREE86_HTML_MAN?= no
+.endif
SCRIPTS_ENV+= CC="${CC}" \
CXX="${CXX}" \
CFLAGS="${CFLAGS}" \
+ PTHREAD_LIBS="${PTHREAD_LIBS}" \
+ PTHREAD_CFLAGS="${PTHREAD_CLFAGS}"
XINSTALL_DIRS?= ${XBUILD_DIRS}
_XINCLUDE_DIRS= include ${XBUILD_DIRS} ${XINCLUDE_DIRS}
@@ -30,6 +36,7 @@ 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-Library.tmpl \
+ ${PORTSDIR}/x11-servers/xorg-server/files/patch-X11.rules \
${PORTSDIR}/x11-servers/xorg-server/files/patch-X11.tmpl
.if !target(do-configure)
diff --git a/x11-servers/xorg-server-snap/files/patch-X11.rules b/x11-servers/xorg-server-snap/files/patch-X11.rules
new file mode 100644
index 000000000000..052e960127fc
--- /dev/null
+++ b/x11-servers/xorg-server-snap/files/patch-X11.rules
@@ -0,0 +1,17 @@
+--- config/cf/X11.rules.orig Sun May 30 12:49:38 2004
++++ config/cf/X11.rules Sun May 30 12:50:02 2004
+@@ -23,6 +23,14 @@
+ # define UseInstalledX11 YES
+ #endif
+
++#ifndef UseInstalledPrograms
++# define UseInstalledPrograms NO
++#endif
++
++#ifndef UseInstalledClients
++# define UseInstalledClients NO
++#endif
++
+ #ifndef ImportX11
+ # ifdef UseImports
+ # define ImportX11 YES
diff --git a/x11-servers/xorg-server-snap/files/patch-X11.tmpl b/x11-servers/xorg-server-snap/files/patch-X11.tmpl
index a4c2f4348f58..4e1eb1b9d227 100644
--- a/x11-servers/xorg-server-snap/files/patch-X11.tmpl
+++ b/x11-servers/xorg-server-snap/files/patch-X11.tmpl
@@ -1,5 +1,5 @@
--- config/cf/X11.tmpl.orig Fri Apr 2 13:47:10 2004
-+++ config/cf/X11.tmpl Thu May 27 20:52:39 2004
++++ config/cf/X11.tmpl Sun May 30 12:46:35 2004
@@ -576,7 +576,7 @@
#define BuildXft1Library BuildRenderLibrary
#endif
@@ -24,3 +24,12 @@
#endif
#ifndef ResourceConfigurationManagement
+@@ -1615,7 +1622,7 @@
+
+ INSTAPPFLAGS = $(INSTDATFLAGS) /* XXX - this should go away - XXX */
+
+-#if UseInstalledX11
++#if UseInstalledX11 || UseInstalledClients
+ RGB = $(BINDIR)/rgb
+ FONTC = $(BINDIR)/bdftopcf
+ MKFONTSCALE = $(BINDIR)/mkfontscale
diff --git a/x11-servers/xorg-server-snap/scripts/configure.gen.pre b/x11-servers/xorg-server-snap/scripts/configure.gen.pre
deleted file mode 100644
index ed93fea53d93..000000000000
--- a/x11-servers/xorg-server-snap/scripts/configure.gen.pre
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/sh
-
-# This script does the following:
-# (1) cp xf86site.def, installed by imake-4 port,
-# to ${WRKDIR}/xc/config/cf.
-# this provides settings for the ports system.
-# (2) Create a host.def for this specific port, using
-# host.def as a base.
-
-ORIGDEF=$PREFIX/lib/X11/config/xf86site.def
-DESTDEF=$WRKDIR/xc/config/cf/xorgsite.def
-ORIGHOSTDEF=$PREFIX/lib/X11/config/host.def
-LOCALDEF=$WRKDIR/.config
-HOSTDEF=$WRKDIR/xc/config/cf/host.def
diff --git a/x11-servers/xorg-server/Makefile.inc b/x11-servers/xorg-server/Makefile.inc
index 6c5af3b29c06..a2a51d9857a0 100644
--- a/x11-servers/xorg-server/Makefile.inc
+++ b/x11-servers/xorg-server/Makefile.inc
@@ -18,10 +18,16 @@ USE_X_PREFIX?= no
PREFIX?= ${X11BASE}
USE_IMAKE= YES
+.if defined(XMAN_DIRS)
XFREE86_HTML_MAN?= yes
+.else
+XFREE86_HTML_MAN?= no
+.endif
SCRIPTS_ENV+= CC="${CC}" \
CXX="${CXX}" \
CFLAGS="${CFLAGS}" \
+ PTHREAD_LIBS="${PTHREAD_LIBS}" \
+ PTHREAD_CFLAGS="${PTHREAD_CLFAGS}"
XINSTALL_DIRS?= ${XBUILD_DIRS}
_XINCLUDE_DIRS= include ${XBUILD_DIRS} ${XINCLUDE_DIRS}
@@ -30,6 +36,7 @@ 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-Library.tmpl \
+ ${PORTSDIR}/x11-servers/xorg-server/files/patch-X11.rules \
${PORTSDIR}/x11-servers/xorg-server/files/patch-X11.tmpl
.if !target(do-configure)
diff --git a/x11-servers/xorg-server/files/patch-X11.rules b/x11-servers/xorg-server/files/patch-X11.rules
new file mode 100644
index 000000000000..052e960127fc
--- /dev/null
+++ b/x11-servers/xorg-server/files/patch-X11.rules
@@ -0,0 +1,17 @@
+--- config/cf/X11.rules.orig Sun May 30 12:49:38 2004
++++ config/cf/X11.rules Sun May 30 12:50:02 2004
+@@ -23,6 +23,14 @@
+ # define UseInstalledX11 YES
+ #endif
+
++#ifndef UseInstalledPrograms
++# define UseInstalledPrograms NO
++#endif
++
++#ifndef UseInstalledClients
++# define UseInstalledClients NO
++#endif
++
+ #ifndef ImportX11
+ # ifdef UseImports
+ # define ImportX11 YES
diff --git a/x11-servers/xorg-server/files/patch-X11.tmpl b/x11-servers/xorg-server/files/patch-X11.tmpl
index a4c2f4348f58..4e1eb1b9d227 100644
--- a/x11-servers/xorg-server/files/patch-X11.tmpl
+++ b/x11-servers/xorg-server/files/patch-X11.tmpl
@@ -1,5 +1,5 @@
--- config/cf/X11.tmpl.orig Fri Apr 2 13:47:10 2004
-+++ config/cf/X11.tmpl Thu May 27 20:52:39 2004
++++ config/cf/X11.tmpl Sun May 30 12:46:35 2004
@@ -576,7 +576,7 @@
#define BuildXft1Library BuildRenderLibrary
#endif
@@ -24,3 +24,12 @@
#endif
#ifndef ResourceConfigurationManagement
+@@ -1615,7 +1622,7 @@
+
+ INSTAPPFLAGS = $(INSTDATFLAGS) /* XXX - this should go away - XXX */
+
+-#if UseInstalledX11
++#if UseInstalledX11 || UseInstalledClients
+ RGB = $(BINDIR)/rgb
+ FONTC = $(BINDIR)/bdftopcf
+ MKFONTSCALE = $(BINDIR)/mkfontscale
diff --git a/x11-servers/xorg-server/scripts/configure.gen.pre b/x11-servers/xorg-server/scripts/configure.gen.pre
deleted file mode 100644
index ed93fea53d93..000000000000
--- a/x11-servers/xorg-server/scripts/configure.gen.pre
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/sh
-
-# This script does the following:
-# (1) cp xf86site.def, installed by imake-4 port,
-# to ${WRKDIR}/xc/config/cf.
-# this provides settings for the ports system.
-# (2) Create a host.def for this specific port, using
-# host.def as a base.
-
-ORIGDEF=$PREFIX/lib/X11/config/xf86site.def
-DESTDEF=$WRKDIR/xc/config/cf/xorgsite.def
-ORIGHOSTDEF=$PREFIX/lib/X11/config/host.def
-LOCALDEF=$WRKDIR/.config
-HOSTDEF=$WRKDIR/xc/config/cf/host.def