summaryrefslogtreecommitdiffstats
path: root/x11-fonts
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2002-04-19 20:25:14 +0000
committerdinoex <dinoex@FreeBSD.org>2002-04-19 20:25:14 +0000
commit008fbbfeb11813256db85a2afa4df7a159c1fa1a (patch)
treea6e30e68dee5b9306b2488ad111e048a31fe9d51 /x11-fonts
parent7b942bcfd946657c24ba6f8239fbb70f521509b1 (diff)
downloadFreeBSD-ports-008fbbfeb11813256db85a2afa4df7a159c1fa1a.zip
FreeBSD-ports-008fbbfeb11813256db85a2afa4df7a159c1fa1a.tar.gz
- Unbreak Build for STABLE or XFREE86_VERSION=3
$ make XFREE86_VERSION=3 all-depends-list /usr/ports/x11/XFree86 $ make XFREE86_VERSION=4 all-depends-list /usr/ports/converters/libiconv /usr/ports/devel/bison /usr/ports/devel/gettext /usr/ports/devel/gmake /usr/ports/devel/imake-4 /usr/ports/print/freetype2 /usr/ports/x11/XFree86-4-clients /usr/ports/x11/XFree86-4-libraries
Diffstat (limited to 'x11-fonts')
-rw-r--r--x11-fonts/p5-type1inst/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/x11-fonts/p5-type1inst/Makefile b/x11-fonts/p5-type1inst/Makefile
index 7623ce1..944a986 100644
--- a/x11-fonts/p5-type1inst/Makefile
+++ b/x11-fonts/p5-type1inst/Makefile
@@ -14,8 +14,6 @@ PKGNAMEPREFIX= p5-
MAINTAINER= ports@FreeBSD.org
-RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients
-
USE_PERL5= yes
USE_XLIB= yes
NO_BUILD= yes
@@ -30,4 +28,10 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/README.type1inst
.endif
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${XFREE86_VERSION} == 4
+RUN_DEPENDS+= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients
+.endif
+
+.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud