[109630] trunk/dports/sysutils/logrotate/Portfile

ryandesign at macports.org ryandesign at macports.org
Sun Aug 18 17:51:25 PDT 2013


Revision: 109630
          https://trac.macports.org/changeset/109630
Author:   ryandesign at macports.org
Date:     2013-08-18 17:51:24 -0700 (Sun, 18 Aug 2013)
Log Message:
-----------
logrotate: popt is a library dependency not a runtime dependency; fix universal variant by declaring it before first invocation of get_canonical_archflags

Modified Paths:
--------------
    trunk/dports/sysutils/logrotate/Portfile

Modified: trunk/dports/sysutils/logrotate/Portfile
===================================================================
--- trunk/dports/sysutils/logrotate/Portfile	2013-08-18 22:20:56 UTC (rev 109629)
+++ trunk/dports/sysutils/logrotate/Portfile	2013-08-19 00:51:24 UTC (rev 109630)
@@ -5,7 +5,7 @@
 
 name                logrotate
 version             3.8.6
-revision            1
+revision            2
 categories          sysutils
 platforms           darwin
 license             GPL-2
@@ -25,11 +25,13 @@
 checksums           rmd160  4cba4954c99896ea036d57190fc11a8307b2765e \
                     sha256  0e0ef0609afe9ef2a2ef6cae307b5ca618ddd349923ccce6e064513afd4e9d92
 
+depends_lib         port:popt
+
+depends_run         port:gettext
+
 patch.pre_args      -p1
 patchfiles          patch-Makefile.diff
 
-depends_run         port:popt port:gettext
-
 post-extract {
     touch ${worksrcpath}/.depend
     copy ${filespath}/logrotate.conf.example \
@@ -49,6 +51,8 @@
 
 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]" \
@@ -114,8 +118,6 @@
 variant startupitem description {Install launchd plist} {
 }
 
-variant universal {}
-
 if {![variant_isset bzip2]} {
     default_variants-append \
                     +gzip
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130818/75f51697/attachment.html>


More information about the macports-changes mailing list