Ticket #19368: libcryptopp.universal.patch

File libcryptopp.universal.patch, 1.2 KB (added by gianluca.toso@…, 16 years ago)
  • libcryptopp

    diff -Naur libcryptopp.orig/Portfile libcryptopp/Portfile
    old new  
    2929build.type      gnu
    3030build.args      -f GNUmakefile
    3131
     32variant universal {
     33        build.env-append \
     34        CXXFLAGS="${configure.universal_cxxflags} -DCRYPTOPP_DISABLE_ASM"
     35        patchfiles-append       patch-GNUmakefile
     36}
     37
    3238test.run        yes
    3339test.cmd        ./cryptest.exe
    34 test.target
     40test.target     v
    3541
    3642destroot        {
    3743        xinstall -m 755 -d ${destroot}${prefix}/include/cryptopp \
  • files/patch-GNUmakefile

    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