diff options
author | roam <roam@FreeBSD.org> | 2006-12-12 23:52:45 +0800 |
---|---|---|
committer | roam <roam@FreeBSD.org> | 2006-12-12 23:52:45 +0800 |
commit | 9c0666dd2d4ef7d21e051d828dce622f5a3d41b4 (patch) | |
tree | 59eacdc44daf6e1de526024ebd63685dc09d42fe /textproc | |
parent | d0de5e2e8cad6f787bebf2d0ff495927cbd4997f (diff) | |
download | freebsd-ports-gnome-9c0666dd2d4ef7d21e051d828dce622f5a3d41b4.tar.gz freebsd-ports-gnome-9c0666dd2d4ef7d21e051d828dce622f5a3d41b4.tar.zst freebsd-ports-gnome-9c0666dd2d4ef7d21e051d828dce622f5a3d41b4.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 :)
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/linux-aspell/Makefile | 7 | ||||
-rw-r--r-- | textproc/linux-f10-aspell/Makefile | 7 | ||||
-rw-r--r-- | textproc/linux-f8-aspell/Makefile | 7 |
3 files changed, 15 insertions, 6 deletions
diff --git a/textproc/linux-aspell/Makefile b/textproc/linux-aspell/Makefile index 08e0acffe12b..8be47ef606df 100644 --- a/textproc/linux-aspell/Makefile +++ b/textproc/linux-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}*} != "" 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}*} != "" 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}*} != "" |