[109614] trunk/dports/sysutils/logrotate
Ryan Schmidt
ryandesign at macports.org
Sun Aug 18 17:52:43 PDT 2013
On Aug 18, 2013, at 12:44, pixilla at macports.org wrote:
> Revision: 109614
> https://trac.macports.org/changeset/109614
> Author: pixilla at macports.org
> Date: 2013-08-18 10:44:43 -0700 (Sun, 18 Aug 2013)
> Log Message:
> -----------
> sysutils/logrotate:
> - Add .PHONY targets to Makefile to avoid target files like INSTALL.
> - Consolidate variants into same area of Portfile.
> - Fix path to default mail command.
> Modified: trunk/dports/sysutils/logrotate/Portfile
> @@ -48,15 +49,13 @@
>
> use_configure no
>
> -variant universal {}
> -
> build.env-append CC="${configure.cc} [get_canonical_archflags]" \
> CXX="${configure.cxx} [get_canonical_archflags]" \
> CPP="${configure.cpp} [get_canonical_archflags]" \
> BASEDIR="${prefix}" \
> POPT_DIR="${prefix}" \
> STATEFILE="${prefix}/var/run/logrotate/logrotate.status" \
> - DEFAULT_MAIL_COMMAND="/usr/sbin/mail"
> + DEFAULT_MAIL_COMMAND="/usr/bin/mail"
>
> destroot.args INSTALL="install" \
> BINDIR="${destroot}${prefix}/sbin" \
> @@ -115,6 +114,8 @@
> variant startupitem description {Install launchd plist} {
> }
>
> +variant universal {}
> +
> if {![variant_isset bzip2]} {
> default_variants-append \
> +gzip
This makes the universal variant not actually be universal. The universal variant must be declared before the first invocation of get_canonical_archflags. Fixed in r109630.
More information about the macports-dev
mailing list