[MacPorts] #1065: Update: qpopper build fix

MacPorts noreply at macports.org
Thu Mar 24 06:42:00 PDT 2016


#1065: Update: qpopper build fix
----------------------+----------------------
  Reporter:  dluke@…  |      Owner:  pguyot@…
      Type:  defect   |     Status:  closed
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  1.0
Resolution:  fixed    |   Keywords:
      Port:  qpopper  |
----------------------+----------------------
Changes (by ryandesign@…):

 * port:   => qpopper


Old description:

> Update qpopper to use '-no-cpp-precomp' instead of '-traditional-cpp' so
> that it builds correctly
> (on 10.3)
>
> Fix inline:
>
> ndex: Portfile
> ============================================================
> =======
> RCS file:
> /Volumes/src/cvs/od/proj/darwinports/dports/mail/qpopper/Portfile,v
> retrieving revision 1.1
> diff -u -d -b -w -r1.1 Portfile
> --- Portfile    14 Aug 2003 12:53:03 -0000      1.1
> +++ Portfile    22 Oct 2003 18:47:42 -0000
> @@ -20,6 +20,8 @@
>
>  post-extract { system "rm '${worksrcpath}/INSTALL'" }
>
> +variant darwin { patchfiles patch-configure }
> +
>  pre-destroot { system "install -d ${destroot}${prefix}/etc/xinetd.d"
>                 system "install -o root -m 755 -c ${portpath}/files
> /qpopper-dist \
>                         ${destroot}${prefix}/etc/xinetd.d/"
>
> And the patch file:
> --- configure.orig      Wed Oct 22 14:38:12 2003
> +++ configure   Wed Oct 22 14:38:43 2003
> @@ -4324,7 +4324,7 @@
>            cc -v 2> TMP_CC_V
>            if grep -i "Apple" TMP_CC_V >/dev/null
>            then
> -               CFLAGS="$CFLAGS -traditional-cpp"
> +               CFLAGS="$CFLAGS -no-cpp-precomp"
>            fi
>            rm -f TMP_CC_V
>            AR_FLAG=" -r "

New description:

 Update qpopper to use '-no-cpp-precomp' instead of '-traditional-cpp' so
 that it builds correctly
 (on 10.3)

 Fix inline:

 {{{
 Index: Portfile
 ===================================================================
 RCS file:
 /Volumes/src/cvs/od/proj/darwinports/dports/mail/qpopper/Portfile,v
 retrieving revision 1.1
 diff -u -d -b -w -r1.1 Portfile
 --- Portfile    14 Aug 2003 12:53:03 -0000      1.1
 +++ Portfile    22 Oct 2003 18:47:42 -0000
 @@ -20,6 +20,8 @@

  post-extract { system "rm '${worksrcpath}/INSTALL'" }

 +variant darwin { patchfiles patch-configure }
 +
  pre-destroot { system "install -d ${destroot}${prefix}/etc/xinetd.d"
                 system "install -o root -m 755 -c ${portpath}/files
 /qpopper-dist \
                         ${destroot}${prefix}/etc/xinetd.d/"

 }}}
 And the patch file:
 {{{
 --- configure.orig      Wed Oct 22 14:38:12 2003
 +++ configure   Wed Oct 22 14:38:43 2003
 @@ -4324,7 +4324,7 @@
            cc -v 2> TMP_CC_V
            if grep -i "Apple" TMP_CC_V >/dev/null
            then
 -               CFLAGS="$CFLAGS -traditional-cpp"
 +               CFLAGS="$CFLAGS -no-cpp-precomp"
            fi
            rm -f TMP_CC_V
            AR_FLAG=" -r "
 }}}

--

-- 
Ticket URL: <https://trac.macports.org/ticket/1065#comment:3>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list