summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/imake-4/Makefile4
-rw-r--r--devel/imake/Makefile5
2 files changed, 9 insertions, 0 deletions
diff --git a/devel/imake-4/Makefile b/devel/imake-4/Makefile
index cf6366593b33..5d3f3fc16ea1 100644
--- a/devel/imake-4/Makefile
+++ b/devel/imake-4/Makefile
@@ -66,7 +66,11 @@ SCRIPTS_ENV+= OSVERSION=${OSVERSION} \
BuildCIDFonts=${BuildCIDFonts} \
BuildTTFonts=${BuildTTFonts}
INSTALL_TARGET= install install.man
+.if ${OSVERSION} < 500000
LATEST_LINK= imake-4
+.else
+LATEST_LINK= imake
+.endif
# ---
# User Config:
# All variables are same as Imake config macros.
diff --git a/devel/imake/Makefile b/devel/imake/Makefile
index 979128cdd583..721bb1df8b5f 100644
--- a/devel/imake/Makefile
+++ b/devel/imake/Makefile
@@ -19,6 +19,11 @@ MAINTAINER= max@FreeBSD.org
MANUAL_PACKAGE_BUILD= installs/removes files also in the XFree86 port
+.if ${OSVERSION} < 500000
+LATEST_LINK= imake
+.else
+LATEST_LINK= imake-1
+.endif
PREFIX= ${X11BASE}
DIST_SUBDIR= xc
WRKSRC= ${WRKDIR}/xc/config