From 90f97911de5c55b7d282126cfebbe60735a51a40 Mon Sep 17 00:00:00 2001 From: Satoshi Taoka Date: Thu, 2 Nov 2000 18:30:36 +0000 Subject: Fix the following problem: In XFree86-4, version of libneXtaw is 7 instead of "6" in XFree86-3. (Is it true ?) Obtained from: bento --- x11-fonts/nexfontsel/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'x11-fonts/nexfontsel') diff --git a/x11-fonts/nexfontsel/Makefile b/x11-fonts/nexfontsel/Makefile index bd411cb40a93..856df8f14bb7 100644 --- a/x11-fonts/nexfontsel/Makefile +++ b/x11-fonts/nexfontsel/Makefile @@ -13,7 +13,12 @@ DISTNAME= NeXFontSel-${PORTVERSION} MAINTAINER= taoka@FreeBSD.org +.include +.if ${XFREE86_VERSION} >= 4 +LIB_DEPENDS= neXtaw.7:${PORTSDIR}/x11-toolkits/neXtaw +.else LIB_DEPENDS= neXtaw.6:${PORTSDIR}/x11-toolkits/neXtaw +.endif USE_IMAKE= yes MAN1= nexfontsel.1 @@ -22,4 +27,4 @@ post-install: ${MKDIR} ${PREFIX}/lib/X11/ja_JP.EUC/app-defaults ${INSTALL_DATA} ${WRKSRC}/NeXFontSel-ja.ad ${PREFIX}/lib/X11/ja_JP.EUC/app-defaults/NeXFontSel -.include +.include -- cgit v1.2.3