From e792db019afb9957468e0be9006beb9a0ff38d9f Mon Sep 17 00:00:00 2001 From: Tony Theodore Date: Wed, 5 Dec 2012 18:52:44 +1100 Subject: packages qdbm wget: replace i686-pc-mingw32 with TARGET variable --- src/qdbm.mk | 4 ++-- src/wget.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/qdbm.mk b/src/qdbm.mk index e6be155..d0cd78a 100644 --- a/src/qdbm.mk +++ b/src/qdbm.mk @@ -28,8 +28,8 @@ define $(PKG)_BUILD static \ MYBINS= \ MYLIBS=libqdbm.a \ - AR=i686-pc-mingw32-ar \ - RANLIB=i686-pc-mingw32-ranlib + AR='$(TARGET)-ar' \ + RANLIB='$(TARGET)-ranlib' $(INSTALL) -d '$(PREFIX)/$(TARGET)/lib/pkgconfig' $(INSTALL) -m644 '$(1)/libqdbm.a' '$(PREFIX)/$(TARGET)/lib/' $(INSTALL) -m644 '$(1)/qdbm.pc' '$(PREFIX)/$(TARGET)/lib/pkgconfig/' diff --git a/src/wget.mk b/src/wget.mk index 36c11b7..4f7c7b3 100644 --- a/src/wget.mk +++ b/src/wget.mk @@ -17,7 +17,7 @@ endef define $(PKG)_BUILD # avoid conflict with base64_encode from gnutls $(SED) -i 's/^base64_encode /wget_base64_encode /;' '$(1)/src/utils.c' - $(SED) -i 's/-lidn/`i686-pc-mingw32-pkg-config --libs libidn`/g;' '$(1)/configure' + $(SED) -i 's/-lidn/`$(TARGET)-pkg-config --libs libidn`/g;' '$(1)/configure' cd '$(1)' && ./configure \ --host='$(TARGET)' \ --build="`config.guess`" \ -- cgit v0.12