diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-03-28 18:45:18 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-03-28 18:45:18 +0000 |
commit | 0a0b929f58c1b141ad9fc9c2684a59733badadbc (patch) | |
tree | 72820a8787da38c21b2037a75d6ad9723616f755 /x11-fonts | |
parent | Make sure the include directory exists before trying to copy files into (diff) |
Add -f to fc-cache to force a font cache build. This fixes GNOME
installation from packages.
Reported by: murray
Notes
Notes:
svn path=/head/; revision=77639
Diffstat (limited to 'x11-fonts')
-rw-r--r-- | x11-fonts/fontconfig/Makefile | 2 | ||||
-rw-r--r-- | x11-fonts/fontconfig/pkg-install | 6 |
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 |