Skip to content
Permalink
Browse files

Port: midgard-core

Version:	1.7.4
Revision:	1
Bug:		https://trac.macports.org/ticket/7954

Update port www/midgard-core
(Verbatim from the bug)
This update helps to build other parts of Midgard. Mysql directories are linked
to build directories and are recorded wrong in midgard-config, so when later
other parts are handled, they can't be configured , because midgard-config is
asked about include and libs directories, which are not found.

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@17171 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
blb committed Mar 26, 2006
1 parent 578c06d commit 648e70d06a116819ef898a85025057868a550bbd
Showing with 7 additions and 1 deletion.
  1. +7 −1 www/midgard-core/Portfile
@@ -1,8 +1,9 @@
# $Id: Portfile,v 1.1 2006/03/21 10:13:52 mww Exp $
# $Id: Portfile,v 1.2 2006/03/26 09:11:50 blb Exp $

PortSystem 1.0
name midgard-core
version 1.7.4
revision 1
categories www
maintainers jyrki.wahlstedt@hut.fi
description "A content management system"
@@ -35,6 +36,11 @@ configure.args --sysconfdir=${prefix}/etc/midgard/ \
--with-expat=${prefix} --with-mysql=${workpath}/mysql5 \
--with-iconv=${prefix}

post-destroot {
reinplace "s;${workpath}/mysql5/lib;${prefix}/lib/mysql5;" ${destroot}${prefix}/bin/midgard-config
reinplace "s;${workpath}/mysql5/include;${prefix}/include/mysql5;" ${destroot}${prefix}/bin/midgard-config
}

variant check {
depends_lib-append port:check
configure.args-append --with-check=${prefix}

0 comments on commit 648e70d

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