Ticket #43010: patch-ossp-uuid-Portfile.diff
File patch-ossp-uuid-Portfile.diff, 2.4 KB (added by jul_bsd@…, 11 years ago) |
---|
-
devel/ossp-uuid/Portfile
diff -urN _orig/devel/ossp-uuid/Portfile devel/ossp-uuid/Portfile
old new 5 5 6 6 name ossp-uuid 7 7 version 1.6.2 8 revision 18 revision 2 9 9 categories devel 10 10 license MIT 11 11 platforms darwin … … 27 27 --without-pgsql \ 28 28 --includedir=${prefix}/include/ossp 29 29 30 default_variants +perl5_16 31 30 32 if {[variant_isset universal]} { 31 33 if { ${os.arch} eq "i386" } { 32 34 if { ${os.major} >= 10 } { … … 60 62 file rename -force ${destroot}${prefix}/share/man/man1/uuid-config.1 ${destroot}${prefix}/share/man/man1/ossp-uuid-config.1 61 63 } 62 64 65 variant perl5_12 { 66 depends_build-append port:perl5.12 67 configure.args-delete --without-perl 68 configure.args-append --with-perl --with-perl-compat 69 configure.env-append PERL=${prefix}/bin/perl5.12 70 patchfiles-append patch-uuid-uuid.h.in.diff 71 } 72 73 variant perl5_14 { 74 depends_build-append port:perl5.14 75 configure.args-delete --without-perl 76 configure.args-append --with-perl --with-perl-compat 77 configure.env-append PERL=${prefix}/bin/perl5.14 78 patchfiles-append patch-uuid-uuid.h.in.diff 79 } 80 81 variant perl5_16 { 82 depends_build-append port:perl5.16 83 configure.args-delete --without-perl 84 configure.args-append --with-perl --with-perl-compat 85 configure.env-append PERL=${prefix}/bin/perl5.16 86 patchfiles-append patch-uuid-uuid.h.in.diff 87 } 88 89 variant perl5_18 { 90 depends_build-append port:perl5.18 91 configure.args-delete --without-perl 92 configure.args-append --with-perl --with-perl-compat 93 configure.env-append PERL=${prefix}/bin/perl5.18 94 patchfiles-append patch-uuid-uuid.h.in.diff 95 } 96 63 97 test.run yes 64 98 test.target check 65 99 -
devel/ossp-uuid/files/patch-uuid-uuid.h.in.diff
diff -urN _orig/devel/ossp-uuid/files/patch-uuid-uuid.h.in.diff devel/ossp-uuid/files/patch-uuid-uuid.h.in.diff
old new 1 --- uuid.h.in.orig 2014-03-18 10:48:05.000000000 -0400 2 +++ uuid.h.in 2014-03-18 10:48:18.000000000 -0400 3 @@ -29,6 +29,8 @@ 4 5 #ifndef __UUID_H__ 6 #define __UUID_H__ 7 +#define _UUID_UUID_H 8 +#define _XOPEN_SOURCE 9 10 /* workaround conflicts with system headers */ 11 #define uuid_t __vendor_uuid_t