summaryrefslogtreecommitdiffstats
path: root/x11-fonts
diff options
context:
space:
mode:
authortaoka <taoka@FreeBSD.org>2000-11-02 18:30:36 +0000
committertaoka <taoka@FreeBSD.org>2000-11-02 18:30:36 +0000
commit8e670b56cfc4a10281c4bc9fd370333f25aedfeb (patch)
tree0e7f431c129e7041ae9e8823ee3ab1a7f3a4c004 /x11-fonts
parent608a55a4e5e21adb79012b4ae6922eb37673a8d8 (diff)
downloadFreeBSD-ports-8e670b56cfc4a10281c4bc9fd370333f25aedfeb.zip
FreeBSD-ports-8e670b56cfc4a10281c4bc9fd370333f25aedfeb.tar.gz
Fix the following problem:
In XFree86-4, version of libneXtaw is 7 instead of "6" in XFree86-3. (Is it true ?) Obtained from: bento
Diffstat (limited to 'x11-fonts')
-rw-r--r--x11-fonts/nexfontsel/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/x11-fonts/nexfontsel/Makefile b/x11-fonts/nexfontsel/Makefile
index bd411cb..856df8f 100644
--- a/x11-fonts/nexfontsel/Makefile
+++ b/x11-fonts/nexfontsel/Makefile
@@ -13,7 +13,12 @@ DISTNAME= NeXFontSel-${PORTVERSION}
MAINTAINER= taoka@FreeBSD.org
+.include <bsd.port.pre.mk>
+.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 <bsd.port.mk>
+.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud