Skip to content
Permalink
Browse files

Fix for universal build (https://trac.macports.org/ticket/16721)

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@40540 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
mf2k committed Oct 6, 2008
1 parent 403b7c0 commit 2e6b6d784d2538d8a25b857aaf925e8e4faa7139
Showing with 6 additions and 0 deletions.
  1. +6 −0 textproc/help2man/Portfile
@@ -27,6 +27,12 @@ depends_lib path:${prefix}/bin/perl:perl5.8 port:p5-locale-gettext \
configure.env PERL=${prefix}/bin/perl
configure.args --mandir=${prefix}/share/man --infodir=${prefix}/share/info

post-patch {
if {[variant_isset universal]} {
reinplace "s|-bundle|-bundle -isysroot ${configure.universal_sysroot} -arch i386 -arch ppc|" ${worksrcpath}/Makefile.in
}
}

post-destroot {
set docdir ${prefix}/share/doc/${name}-${version}
xinstall -d ${destroot}${docdir}

0 comments on commit 2e6b6d7

Please sign in to comment.
You can’t perform that action at this time.