Skip to content

Commit

Permalink
fix wx-config symlink to not point to the destroot
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@9254 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Markus W. Weißmann committed Nov 11, 2004
1 parent 19eaea0 commit e80fa88
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions graphics/wxWidgets/Portfile
@@ -1,9 +1,10 @@
# $Id: Portfile,v 1.6 2004/11/11 14:43:24 mww Exp $
# $Id: Portfile,v 1.7 2004/11/11 17:49:11 mww Exp $

PortSystem 1.0

name wxWidgets
version 2.5.3
revision 1
categories graphics devel
platforms darwin
maintainers mww@opendarwin.org blb@pobox.com
Expand Down Expand Up @@ -61,6 +62,10 @@ variant darwin {
configure.args-append --with-mac \
--with-opengl \
--disable-shared
post-destroot {
system "cd ${destroot}${prefix}/bin && \
ln -sf ${prefix}/lib/wx/config/mac-ansi-release-static-2.5 wx-config"
}
}

#variant gtk {
Expand All @@ -70,7 +75,7 @@ variant darwin {

build.target

post-destroot {
pre-destroot {
xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 -W ${workpath}/${name}-${version} BuildCVS.txt CHANGES.txt \
COPYING.LIB INSTALL-MAC.txt INSTALL-MGL.txt INSTALL-MOTIF.txt \
Expand Down

0 comments on commit e80fa88

Please sign in to comment.