aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts/nexfontsel
diff options
context:
space:
mode:
authorSatoshi Taoka <taoka@FreeBSD.org>2000-11-02 18:30:36 +0000
committerSatoshi Taoka <taoka@FreeBSD.org>2000-11-02 18:30:36 +0000
commit90f97911de5c55b7d282126cfebbe60735a51a40 (patch)
tree3034080ac2802f5c9c0a6de57df18d945d48816c /x11-fonts/nexfontsel
parentee20811f9798ef0c7a45fd8011091ba67859dab2 (diff)
downloadports-90f97911de5c55b7d282126cfebbe60735a51a40.tar.gz
ports-90f97911de5c55b7d282126cfebbe60735a51a40.zip
Fix the following problem:
In XFree86-4, version of libneXtaw is 7 instead of "6" in XFree86-3. (Is it true ?) Obtained from: bento
Notes
Notes: svn path=/head/; revision=34658
Diffstat (limited to 'x11-fonts/nexfontsel')
-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 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 <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>