aboutsummaryrefslogtreecommitdiff
path: root/textproc/linux-f8-aspell
diff options
context:
space:
mode:
authorPeter Pentchev <roam@FreeBSD.org>2006-12-12 15:52:45 +0000
committerPeter Pentchev <roam@FreeBSD.org>2006-12-12 15:52:45 +0000
commita3725cb2bbfd34876fd2047f98c6a42456997a96 (patch)
treeada4abf98271a01520dce81a13004a224722de0f /textproc/linux-f8-aspell
parent96286aa69dc09effa45e2ecaf0f539bced00a8c9 (diff)
downloadports-a3725cb2bbfd34876fd2047f98c6a42456997a96.tar.gz
ports-a3725cb2bbfd34876fd2047f98c6a42456997a96.zip
Make linux-aspell only depend on archivers/bzip2 for the FreeBSD versions
that do not have it in the base system; in effect, drop the archivers/bzip2 dependency, since bzip2 has been in base for a long, long time now :)
Notes
Notes: svn path=/head/; revision=179574
Diffstat (limited to 'textproc/linux-f8-aspell')
-rw-r--r--textproc/linux-f8-aspell/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/textproc/linux-f8-aspell/Makefile b/textproc/linux-f8-aspell/Makefile
index 08e0acffe12b..8be47ef606df 100644
--- a/textproc/linux-f8-aspell/Makefile
+++ b/textproc/linux-f8-aspell/Makefile
@@ -21,8 +21,7 @@ EXTRACT_ONLY=
MAINTAINER= ports@FreeBSD.org
COMMENT= Spelling checker with better logic than ispell (linux version)
-BUILD_DEPENDS= rpm:${PORTSDIR}/archivers/rpm \
- bzip2:${PORTSDIR}/archivers/bzip2
+BUILD_DEPENDS= rpm:${PORTSDIR}/archivers/rpm
NO_BUILD= yes
ONLY_FOR_ARCHS= i386 amd64
@@ -80,6 +79,10 @@ DICT_SUFFIX= .tar.bz2
.include <bsd.port.pre.mk>
+.if (${OSVERSION} < 500021) && (${OSVERSION} >= 500000 || ${OSVERSION} < 440000)
+BUILD_DEPENDS+= bzip2:${PORTSDIR}/archivers/bzip2
+.endif
+
.if defined(LANG)
. for i in ${AVAIL_DICT} no
. if ${LANG:M${i}*} != ""