diff -Naur flac.orig/Portfile flac/Portfile
old
|
new
|
|
18 | 18 | platforms darwin freebsd |
19 | 19 | master_sites sourceforge |
20 | 20 | checksums md5 2bfc127cdda02834d0491ab531a20960 |
21 | | patchfiles patch-ltmain.sh |
| 21 | patchfiles patch-ltmain.sh patch-nasm.h |
22 | 22 | |
23 | 23 | depends_lib lib:libogg.0:libogg lib:libid3.3:id3lib |
24 | 24 | |
25 | 25 | configure.env XMMS_CONFIG=/usr/bin/false |
26 | 26 | configure.args --mandir=${prefix}/share/man |
27 | 27 | |
| 28 | build.args OBJ_FORMAT=macho |
| 29 | |
28 | 30 | test.run yes |
29 | 31 | test.target check |
diff -Naur flac.orig/files/patch-nasm.h flac/files/patch-nasm.h
old
|
new
|
|
| 1 | --- src/libFLAC/ia32/nasm.h~ 2005-01-25 13:14:22.000000000 +0900 |
| 2 | +++ src/libFLAC/ia32/nasm.h 2006-03-15 18:07:23.000000000 +0900 |
| 3 | @@ -49,6 +49,11 @@ |
| 4 | %idefine code_section section .text align=16 |
| 5 | %idefine data_section section .data align=32 |
| 6 | %idefine bss_section section .bss align=32 |
| 7 | +%elifdef OBJ_FORMAT_macho |
| 8 | + %define FLAC__PUBLIC_NEEDS_UNDERSCORE |
| 9 | + %idefine code_section section .text |
| 10 | + %idefine data_section section .data |
| 11 | + %idefine bss_section section .bss |
| 12 | %else |
| 13 | %error unsupported object format! |
| 14 | %endif |