aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authoravilla <avilla@FreeBSD.org>2011-01-15 18:38:43 +0800
committeravilla <avilla@FreeBSD.org>2011-01-15 18:38:43 +0800
commitce695f0d3a8f652a9491546ce4d336e1c4d7de92 (patch)
tree45cfc05e8bf29561c02e758bbb8b0e2c81dcaeae /math
parentffa7e3ab4d002b48cda3baabae32097144cc7183 (diff)
downloadfreebsd-ports-gnome-ce695f0d3a8f652a9491546ce4d336e1c4d7de92.tar.gz
freebsd-ports-gnome-ce695f0d3a8f652a9491546ce4d336e1c4d7de92.tar.zst
freebsd-ports-gnome-ce695f0d3a8f652a9491546ce4d336e1c4d7de92.zip
- WITH_RAR: unrar is required even when rar is installed.
Feature safe: yes
Diffstat (limited to 'math')
-rw-r--r--math/kcalc/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/math/kcalc/Makefile b/math/kcalc/Makefile
index d862f9b846fd..b5bd0a778238 100644
--- a/math/kcalc/Makefile
+++ b/math/kcalc/Makefile
@@ -6,6 +6,7 @@
PORTNAME= kdeutils
PORTVERSION= ${KDE4_VERSION}
+PORTREVISION= 1
CATEGORIES= misc kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src
@@ -61,6 +62,7 @@ LIB_DEPENDS+= lzma.5:${PORTSDIR}/archivers/xz
.endif
.ifdef(WITH_RAR)
+RUN_DEPENDS+= unrar:${PORTSDIR}/archivers/unrar
.if ${ARCH} != "amd64" && ${ARCH} != "ia64" && ${ARCH} != "powerpc" && ${ARCH} != "sparc64"
INSTALL_RAR= YES
.elif ${ARCH} == "amd64"
@@ -73,8 +75,6 @@ INSTALL_RAR= YES
.endif
.ifdef(INSTALL_RAR)
RUN_DEPENDS+= rar:${PORTSDIR}/archivers/rar
-.else
-RUN_DEPENDS+= unrar:${PORTSDIR}/archivers/unrar
.endif
.endif