Ticket #23357: Portfile.patch

File Portfile.patch, 861 bytes (added by nxg (Norman Gray), 15 years ago)

Add platform variant to add correct flags on 10.6

Line 
1*** Portfile.orig       2009-05-22 11:21:32.000000000 +0100
2--- Portfile    2010-01-20 10:35:34.000000000 +0000
3***************
4*** 4,9 ****
5--- 4,10 ----
6 
7  name          scsh
8  version               0.6.7
9+ # See note below when updating scsh version
10  categories    lang
11  maintainers   astro.gla.ac.uk:norman
12  description   Scheme shell
13***************
14*** 20,23 ****
15--- 21,31 ----
16  master_sites    http://ftp.scsh.net/pub/scsh/0.6/
17  checksums       md5 69c88ca86a8aaaf0f87d253b99d339b5
18  configure.args        --mandir=${prefix}/share/man
19+ platform darwin 10 {
20+   # 10.6 requires that we specify 32-bit rather than the default 64-bit.
21+   # There exists an upstream patch to scsh which makes this unnecessary.
22+   # If this is accepted, then this stanza should be removed when the portfile
23+   # version of scsh is updated.
24+   configure.args-append               CFLAGS=-m32
25+ }
26  build.target    enough