Commits

Ryan Schmidt authored dfc59c3d40a
apg: Use the right compiler and -arch flags

Closes: https://trac.macports.org/ticket/55159 Also add universal variant.
No tags

security/apg/Portfile

Modified
20 20
21 21 depends_lib lib:crypto:openssl
22 22
23 23 patchfiles patch-Makefile.diff
24 24
25 25 post-patch {
26 26 reinplace "s|__DESTROOT__|${destroot}|" ${worksrcpath}/Makefile
27 27 }
28 28
29 29 use_configure no
30 +variant universal {}
31 +
32 +build.args CC="${configure.cc} [get_canonical_archflags cc]"
30 33
31 34 destroot {
32 35 xinstall -m 755 -s ${worksrcpath}/apg ${destroot}${prefix}/bin
33 36 xinstall -m 644 ${worksrcpath}/doc/man/apg.1 \
34 37 ${destroot}${prefix}/share/man/man1
35 38 xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
36 39 xinstall -m 644 -W ${worksrcpath}/doc APG_TIPS pronun.txt rfc0972.txt \
37 40 rfc1750.txt ${destroot}${prefix}/share/doc/${name}
38 41 xinstall -m 644 -W ${worksrcpath} README COPYING THANKS \
39 42 ${destroot}${prefix}/share/doc/${name}
40 43 }

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut