aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/kdepim44
diff options
context:
space:
mode:
authorlofi <lofi@FreeBSD.org>2004-03-28 20:55:41 +0800
committerlofi <lofi@FreeBSD.org>2004-03-28 20:55:41 +0800
commitdaddf3d4869157ad835934392a503826a3029ba7 (patch)
tree7285d32965c712c1222b983a26115358c7d26b67 /deskutils/kdepim44
parent3988ecee1e986c0cff1913e819666b1f18ea6edf (diff)
downloadfreebsd-ports-gnome-daddf3d4869157ad835934392a503826a3029ba7.tar.gz
freebsd-ports-gnome-daddf3d4869157ad835934392a503826a3029ba7.tar.zst
freebsd-ports-gnome-daddf3d4869157ad835934392a503826a3029ba7.zip
Respect WITHOUT_FOO.
Diffstat (limited to 'deskutils/kdepim44')
-rw-r--r--deskutils/kdepim44/Makefile31
1 files changed, 11 insertions, 20 deletions
diff --git a/deskutils/kdepim44/Makefile b/deskutils/kdepim44/Makefile
index 5ad99ec867b3..bd4b4717c39f 100644
--- a/deskutils/kdepim44/Makefile
+++ b/deskutils/kdepim44/Makefile
@@ -36,13 +36,6 @@ OPTIONS= KPILOT "Build KPilot, hotsync software for KDE" off \
.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
.include <bsd.port.pre.mk>
-.if exists(${LOCALBASE}/bin/pilot-xfer)
-. if !defined(WITH_KPILOT)
-KPILOT_OVERRIDE=yes
-WITH_KPILOT= yes
-. endif
-.endif
-
.if exists(${LOCALBASE}/bin/gnokii)
. if !defined(WITH_GNOKII)
GNOKII_OVERRIDE=yes
@@ -58,23 +51,21 @@ LIB_DEPENDS+= gnokii:${PORTSDIR}/comms/gnokii
LIB_DEPENDS+= mal:${PORTSDIR}/palm/libmal \
pisock:${PORTSDIR}/palm/pilot-link
PLIST_APPEND+= plist.kpilot
-.endif # defined ($(WITH_KPILOT))
+.elseif defined(WITHOUT_KPILOT)
+DO_NOT_COMPILE+=kpilot
+.endif
+
+.if defined(DO_NOT_COMPILE)
+CONFIGURE_ENV+=DO_NOT_COMPILE="${DO_NOT_COMPILE}"
+.endif # defined(DO_NOT_COMPILE)
pre-everything::
-.if defined(KPILOT_OVERRIDE)
- @${ECHO_MSG}
- @${ECHO_MSG} "*******************************************************"
- @${ECHO_MSG} "* pilot-link is installed but WITH_KPILOT is not set! *"
- @${ECHO_MSG} "* WITH_KPILOT has been enabled automatically. *"
- @${ECHO_MSG} "*******************************************************"
- @${ECHO_MSG}
-.endif
.if defined(GNOKII_OVERRIDE)
@${ECHO_MSG}
- @${ECHO_MSG} "*******************************************************"
- @${ECHO_MSG} "* gnokii is installed but WITH_GNOKII is not set! *"
- @${ECHO_MSG} "* WITH_GNOKII has been enabled automatically. *"
- @${ECHO_MSG} "*******************************************************"
+ @${ECHO_MSG} "**********************************************************"
+ @${ECHO_MSG} "* gnokii is installed and support has been enabled *"
+ @${ECHO_MSG} "* automatically (no additional files will be installed). *"
+ @${ECHO_MSG} "**********************************************************"
@${ECHO_MSG}
.endif