summaryrefslogtreecommitdiff
path: root/x11-fonts
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-03-13 23:07:30 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-03-13 23:07:30 +0000
commit2b7e6e3fea61c6c26bc1954c03a82de2328dd0dd (patch)
treeb2a6aba76a8de98041dc0855eab36c5e0c40d7b1 /x11-fonts
parentMake this port non-interactive. I.e. extract distfile unconditionally. (diff)
Fix a bug in fontconfig's configure script that was causing fonts.conf
to not include /usr/X11R6/lib/X11/fonts if XFree86 was not installed. This was in turn leading to crashes in things such as xclock. This bug has been filed with fontconfig's Bugzilla as bug #45. Reported by: many Brought to my attention by: anholt Approved by: portmgr (will)
Notes
Notes: svn path=/head/; revision=77124
Diffstat (limited to 'x11-fonts')
-rw-r--r--x11-fonts/fontconfig/Makefile4
-rw-r--r--x11-fonts/fontconfig/files/patch-configure11
2 files changed, 13 insertions, 2 deletions
diff --git a/x11-fonts/fontconfig/Makefile b/x11-fonts/fontconfig/Makefile
index fd9195a0b715..70b3be9b8697 100644
--- a/x11-fonts/fontconfig/Makefile
+++ b/x11-fonts/fontconfig/Makefile
@@ -7,7 +7,7 @@
PORTNAME= fontconfig
PORTVERSION= 2.1
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= x11-fonts
MASTER_SITES= http://www.fontconfig.org/fontconfig/release/
DISTNAME= fcpackage.${PORTVERSION:S/./_/}
@@ -27,7 +27,7 @@ GNU_CONFIGURE= yes
USE_REINPLACE= yes
CONFIGURE_ARGS= --with-confdir=${PREFIX}/etc/fonts \
--with-expat=${LOCALBASE} \
- --with-default-fonts=${X11BASE}/lib/X11/fonts
+ --with-default_fonts=${X11BASE}/lib/X11/fonts
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
WRKSRC= ${WRKDIR}/${DISTNAME}/fontconfig
MAKE_ENV= LC_ALL=C
diff --git a/x11-fonts/fontconfig/files/patch-configure b/x11-fonts/fontconfig/files/patch-configure
new file mode 100644
index 000000000000..8a8378a7a11d
--- /dev/null
+++ b/x11-fonts/fontconfig/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig Thu Mar 13 17:21:08 2003
++++ configure Thu Mar 13 17:21:15 2003
+@@ -611,7 +611,7 @@
+ # Check whether --with-default_fonts or --without-default_fonts was given.
+ if test "${with_default_fonts+set}" = set; then
+ withval="$with_default_fonts"
+- defaultfonts="$withval"
++ default_fonts="$withval"
+ else
+ default_fonts=yes
+ fi