aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts/fontconfig
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-03-29 02:45:18 +0800
committermarcus <marcus@FreeBSD.org>2003-03-29 02:45:18 +0800
commit70b4c352d5b096520b0f6089cedf8b48a7c32263 (patch)
treed1e79bb45f88080f3f69d2a84c5db2f8a98da439 /x11-fonts/fontconfig
parent352babee2b8b766177e9e7e216b4ee65c1d253fa (diff)
downloadfreebsd-ports-gnome-70b4c352d5b096520b0f6089cedf8b48a7c32263.tar.gz
freebsd-ports-gnome-70b4c352d5b096520b0f6089cedf8b48a7c32263.tar.zst
freebsd-ports-gnome-70b4c352d5b096520b0f6089cedf8b48a7c32263.zip
Add -f to fc-cache to force a font cache build. This fixes GNOME
installation from packages. Reported by: murray
Diffstat (limited to 'x11-fonts/fontconfig')
-rw-r--r--x11-fonts/fontconfig/Makefile2
-rw-r--r--x11-fonts/fontconfig/pkg-install6
2 files changed, 2 insertions, 6 deletions
diff --git a/x11-fonts/fontconfig/Makefile b/x11-fonts/fontconfig/Makefile
index 70b3be9b8697..45878ede0df0 100644
--- a/x11-fonts/fontconfig/Makefile
+++ b/x11-fonts/fontconfig/Makefile
@@ -7,7 +7,7 @@
PORTNAME= fontconfig
PORTVERSION= 2.1
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= x11-fonts
MASTER_SITES= http://www.fontconfig.org/fontconfig/release/
DISTNAME= fcpackage.${PORTVERSION:S/./_/}
diff --git a/x11-fonts/fontconfig/pkg-install b/x11-fonts/fontconfig/pkg-install
index a6228fb8397e..62581669e328 100644
--- a/x11-fonts/fontconfig/pkg-install
+++ b/x11-fonts/fontconfig/pkg-install
@@ -1,12 +1,8 @@
#!/bin/sh
-if [ -n "${PACKAGE_BUILDING}" ]; then
- exit 0
-fi
-
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin:${PATH}
export PATH
if [ "$2" = "POST-INSTALL" ]; then
- fc-cache >/dev/null 2>&1
+ fc-cache -f >/dev/null 2>&1
fi