diff options
author | Peter Pentchev <roam@FreeBSD.org> | 2006-12-12 15:52:45 +0000 |
---|---|---|
committer | Peter Pentchev <roam@FreeBSD.org> | 2006-12-12 15:52:45 +0000 |
commit | a3725cb2bbfd34876fd2047f98c6a42456997a96 (patch) | |
tree | ada4abf98271a01520dce81a13004a224722de0f /textproc/linux-f10-aspell | |
parent | 96286aa69dc09effa45e2ecaf0f539bced00a8c9 (diff) |
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-f10-aspell')
-rw-r--r-- | textproc/linux-f10-aspell/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/textproc/linux-f10-aspell/Makefile b/textproc/linux-f10-aspell/Makefile index 08e0acffe12b..8be47ef606df 100644 --- a/textproc/linux-f10-aspell/Makefile +++ b/textproc/linux-f10-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}*} != "" |