diff options
author | taoka <taoka@FreeBSD.org> | 2000-11-03 02:30:36 +0800 |
---|---|---|
committer | taoka <taoka@FreeBSD.org> | 2000-11-03 02:30:36 +0800 |
commit | 8e670b56cfc4a10281c4bc9fd370333f25aedfeb (patch) | |
tree | 0e7f431c129e7041ae9e8823ee3ab1a7f3a4c004 | |
parent | 608a55a4e5e21adb79012b4ae6922eb37673a8d8 (diff) | |
download | freebsd-ports-graphics-8e670b56cfc4a10281c4bc9fd370333f25aedfeb.tar.gz freebsd-ports-graphics-8e670b56cfc4a10281c4bc9fd370333f25aedfeb.tar.zst freebsd-ports-graphics-8e670b56cfc4a10281c4bc9fd370333f25aedfeb.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
-rw-r--r-- | x11-fonts/nexfontsel/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/x11-fonts/nexfontsel/Makefile b/x11-fonts/nexfontsel/Makefile index bd411cb40a9..856df8f14bb 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> |