diff options
author | Mark Brand <mabrand@mabrand.nl> | 2010-02-12 14:53:51 (GMT) |
---|---|---|
committer | Mark Brand <mabrand@mabrand.nl> | 2010-02-12 14:53:51 (GMT) |
commit | f2b2ed3b8f488cd5f2435414f2f476305a1ac9fd (patch) | |
tree | d6bfbcc7f6707a783d6ea42722f0f7e9f99853cb /src/vmime.mk | |
parent | 30908710180d04365c48b463922bd861105cbcc8 (diff) | |
download | mxe-f2b2ed3b8f488cd5f2435414f2f476305a1ac9fd.zip mxe-f2b2ed3b8f488cd5f2435414f2f476305a1ac9fd.tar.gz mxe-f2b2ed3b8f488cd5f2435414f2f476305a1ac9fd.tar.bz2 |
use prefixed pkg-config in package vmime
Diffstat (limited to 'src/vmime.mk')
-rw-r--r-- | src/vmime.mk | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/vmime.mk b/src/vmime.mk index 61d9175..2c1ddd8 100644 --- a/src/vmime.mk +++ b/src/vmime.mk @@ -19,12 +19,18 @@ define $(PKG)_UPDATE endef define $(PKG)_BUILD - # ansi and pedantic are too strict for mingw + # The configure script will make the real configuration, but + # we need scons to generate configure.in, Makefile.am etc. + # ansi and pedantic are too strict for mingw. # http://sourceforge.net/tracker/index.php?func=detail&aid=2373234&group_id=2435&atid=102435 $(SED) "s/'-ansi', //;" -i '$(1)/SConstruct' $(SED) "s/'-pedantic', //;" -i '$(1)/SConstruct' + $(SED) 's/pkg-config/$(TARGET)-pkg-config/g;' -i '$(1)/SConstruct' - cd '$(1)' && scons autotools sendmail_path=/sbin/sendmail + cd '$(1)' && scons autotools \ + prefix='$(PREFIX)/$(TARGET)' \ + target='$(TARGET)' \ + sendmail_path=/sbin/sendmail $(SED) 's,libtoolize ,$(LIBTOOLIZE) ,' -i '$(1)'/bootstrap cd '$(1)' && ./bootstrap |