Opened 11 years ago

Closed 11 years ago

Last modified 10 years ago

#14046 closed defect (fixed)

Remove "configure.compiler gcc-4.0" from all "platform darwin 8" sections

Reported by: ryandesign (Ryan Schmidt) Owned by: ryandesign (Ryan Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port:

Description

Many ports have used this construct:

platform darwin 8 {
    configure.compiler gcc-4.0
}

This is no longer necessary since MacPorts 1.6 already uses GCC 4.0 by default on Tiger. See this message on the macports-users.

Change History (9)

comment:1 Changed 11 years ago by ryandesign (Ryan Schmidt)

I removed the unnecessary darwin 8 platform from all nomaintainer and openmaintainer ports in r33297 and for all my ports in r33298.

comment:2 Changed 11 years ago by ryandesign (Ryan Schmidt)

The above changes were made by doing a multi-file find and replace in TextWrangler. The search regular expression was

(?s)\s*platform\s+darwin\s+8\s*{\s+configure\.compiler\s+gcc-4\.0\s+}

The replacement string was the empty string.

comment:3 Changed 11 years ago by ryandesign (Ryan Schmidt)

Summary: Remove "platform darwin 8 { configure.compiler gcc-4.0 }" from all portsRemove "configure.compiler gcc-4.0" from all "platform darwin 8" sections

Occurrences of "configure.compiler gcc-4.0" inside remaining platform darwin 8 sections were removed for all nomaintainer and openmaintainer ports in r33301 and for my ports in r33302.

These changes were made by doing a multi-file find and replace using the search regular expression

(?s)(platform\s+darwin\s+8\s*{[^}]*?)\s+configure\.compiler\s+gcc-4\.0([^}]*})

and the replacement string

\1\2

One remaining occurrence in the portfile for shells/fish was fixed by hand.

comment:4 Changed 11 years ago by ryandesign (Ryan Schmidt)

There now remain a number of ports maintained by a number of different people which still contain the unnecessary configure.compiler gcc-4.0 directive.

Ports:

apple-gcc33 apple-gcc40 aria2 autogen boehmgc bogofilter bonniexx chicken
clucene cmatrix couchdb couchdb-devel cyclone dialog elinks emacs emacs-devel
esniper euchre gambit-c gcc40 gcc42 gdal gdc geos gpsbabel gsoap gzip icu
libartnet libgdiplus libidn libmrss libnxml libuninum libxmlxx lighttpd
lighttpd-devel litmus log4cpp lzo2 mecab midgard-apache2 midgard-core
midgard-data midgard-php4 mjpegtools mono mpfr mpop msmtp muparser ncurses
ncursesw nwntools objc openbabel openvpn2 palm-db-tools pdnsd pgpool pilot-link
postgis pound proftpd python25 python30 rsync rsync-devel scheme48 sqlite3 squid
stklos streamripper swi-prolog-lite swig tiff tivodecode treecc wgetpro
wxWidgets wxWidgets-devel wxWidgets26 xcc xscreensaver yap zsh-devel

Maintainers:

   1 abender@gmail.com
   3 arto.bendiken@gmail.com
   1 beatrupp@gmail.com
   1 chenggao@gmail.com
   4 css@macports.org
   1 darren.bane@gmail.com
   1 denis.defreyne@ugent.be
   1 dhaines@gmail.com
   1 dinh.viet.hoa@free.fr
   1 filippo.natali@gmail.com
   1 frank-lists@auroralux.net
   2 imajes@macports.org
   1 jenix@jinhyung.org
   1 jordiyeh@gmail.com
  11 jwa@macports.org
   1 kevin@macports.org
   1 lomion@mac.com
   1 macports@michael-behrendt.net
  34 mww@macports.org
   3 nox@macports.org
   1 olaf@foellinger.de
   1 opendarwin@gaige.net
   2 pguyot@kallisys.net
   2 pmoura@mac.com
   1 pmq@macports.org
   1 rcavanaugh@gmail.com
   1 reiffert@macports.org
   1 rsky0711@gmail.com
   1 seanasy@gmail.com
   1 simon@macports.org
   3 stechert@macports.org
   1 sumpfork@users.sf.net
   1 vincent-opdarw@vinc17.org
   4 waqar@macports.org
   1 yunzheng.hu@gmail.com

I would like to remove the directive from these portfiles as well. I already have the necessary changes made in a working copy on my machine. I intend to commit them after allowing 72 hours for any objections to be voiced.

I'll send an email to these maintainers informing them of this plan.

comment:5 Changed 11 years ago by ryandesign (Ryan Schmidt)

jwa removed it from his ports in r33309.

comment:6 Changed 11 years ago by ryandesign (Ryan Schmidt)

pguyot fixed his ports in r33328 and r33329.

comment:7 Changed 11 years ago by ryandesign (Ryan Schmidt)

vinc17 fixed his port in r33345.

comment:8 Changed 11 years ago by ryandesign (Ryan Schmidt)

Resolution: fixed
Status: newclosed

I fixed the remaining ports in r33441.

comment:9 Changed 10 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.