Skip to content
Permalink
Browse files

Bug: https://trac.macports.org/ticket/1321

Submitted by:   blb@pobox.com
Reviewed by:    mww@

Update graphics/fontconfig to depend on pkg-config, replaced 'system' with 'file' cmd

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@4314 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Markus W. Weißmann
Markus W. Weißmann committed Dec 27, 2003
1 parent 583ebdf commit ee1910c435f46a66544d089488530898c3d66412
Showing with 12 additions and 6 deletions.
  1. +12 −6 graphics/fontconfig/Portfile
@@ -1,9 +1,9 @@
# $Id: Portfile,v 1.10 2003/10/30 23:07:34 waqar Exp $
# $Id: Portfile,v 1.11 2003/12/27 16:24:26 mww Exp $

PortSystem 1.0
name fontconfig
version 2.2.0
revision 2
revision 3
categories graphics
maintainers blb@pobox.com
description font configuration and customization library
@@ -23,13 +23,19 @@ master_sites http://x2.freedesktop.org/~fontconfig/release/ \

platforms darwin
checksums md5 cf0ce6c87e5d6362e9ebc8d94a45fdc4
depends_lib lib:freetype.2:freetype lib:libexpat.0:expat
depends_lib lib:freetype.2:freetype \
lib:libexpat.0:expat \
bin:pkg-config:pkgconfig

variant darwin {
pre-build {
system "cp /usr/bin/glibtool ${worksrcpath}/libtool"
file copy -force /usr/bin/glibtool ${worksrcpath}/libtool
}
}

configure.env CPPFLAGS="-I${prefix}/include -I${x11prefix}/include" LDFLAGS="-L${worksrcpath}/src/.libs -L${prefix}/lib -L${x11prefix}/lib"
configure.args --mandir=${prefix}/share/man --disable-static --with-freetype-config=${prefix}/bin/freetype-config
configure.env CPPFLAGS="-I${prefix}/include -I${x11prefix}/include" \
LDFLAGS="-L${worksrcpath}/src/.libs -L${prefix}/lib \
-L${x11prefix}/lib"
configure.args --mandir=${prefix}/share/man \
--disable-static \
--with-freetype-config=${prefix}/bin/freetype-config

0 comments on commit ee1910c

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