diff -Naur libcryptopp.orig/Portfile libcryptopp/Portfile
old
|
new
|
|
29 | 29 | build.type gnu |
30 | 30 | build.args -f GNUmakefile |
31 | 31 | |
| 32 | variant universal { |
| 33 | build.env-append \ |
| 34 | CXXFLAGS="${configure.universal_cxxflags} -DCRYPTOPP_DISABLE_ASM" |
| 35 | patchfiles-append patch-GNUmakefile |
| 36 | } |
| 37 | |
32 | 38 | test.run yes |
33 | 39 | test.cmd ./cryptest.exe |
34 | | test.target |
| 40 | test.target v |
35 | 41 | |
36 | 42 | destroot { |
37 | 43 | xinstall -m 755 -d ${destroot}${prefix}/include/cryptopp \ |
diff -Naur libcryptopp.orig/files/patch-GNUmakefile libcryptopp/files/patch-GNUmakefile
old
|
new
|
|
| 1 | --- GNUmakefile.orig 2007-09-23 21:03:14.000000000 +0200 |
| 2 | +++ GNUmakefile 2008-04-14 15:56:22.000000000 +0200 |
| 3 | @@ -1,4 +1,4 @@ |
| 4 | -CXXFLAGS = -DNDEBUG -g -O2 |
| 5 | +CXXFLAGS += -DNDEBUG -g -O2 |
| 6 | # the following options reduce code size, but breaks link or makes link very slow on some systems |
| 7 | # CXXFLAGS += -ffunction-sections -fdata-sections |
| 8 | # LDFLAGS += -Wl,--gc-sections |