diff options
author | Michael Nottebrock <lofi@FreeBSD.org> | 2004-03-28 12:55:41 +0000 |
---|---|---|
committer | Michael Nottebrock <lofi@FreeBSD.org> | 2004-03-28 12:55:41 +0000 |
commit | 4dcaa9a533ab97b446bc08b18f2bbe9ed87fd135 (patch) | |
tree | 79db8dfaa15173f3a0823eaa619d46cfb8429eb0 /deskutils | |
parent | Avoid linking with libintl. As found by kris, opmixer does not (diff) |
Respect WITHOUT_FOO.
Diffstat (limited to 'deskutils')
-rw-r--r-- | deskutils/kdepim3/Makefile | 31 | ||||
-rw-r--r-- | deskutils/kdepim4/Makefile | 31 | ||||
-rw-r--r-- | deskutils/kdepim44/Makefile | 31 |
3 files changed, 33 insertions, 60 deletions
diff --git a/deskutils/kdepim3/Makefile b/deskutils/kdepim3/Makefile index 5ad99ec867b3..bd4b4717c39f 100644 --- a/deskutils/kdepim3/Makefile +++ b/deskutils/kdepim3/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 diff --git a/deskutils/kdepim4/Makefile b/deskutils/kdepim4/Makefile index 5ad99ec867b3..bd4b4717c39f 100644 --- a/deskutils/kdepim4/Makefile +++ b/deskutils/kdepim4/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 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 |