summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2007-01-10 10:30:10 +0000
committerEric Andersen <andersen@codepoet.org>2007-01-10 10:30:10 +0000
commit6637a4698e01017657a19689ac4b46ae06793eeb (patch)
treefb40095f2d8a1098d454a99de65dd9f97000b46a /package
parent2f984ec24fbb1260d46ed122b2a2e27452d18298 (diff)
fix install such that pkg-config setup is correct
Diffstat (limited to 'package')
-rw-r--r--package/gettext/gettext.mk28
1 files changed, 5 insertions, 23 deletions
diff --git a/package/gettext/gettext.mk b/package/gettext/gettext.mk
index a9f21bcb5..eb73d8aa5 100644
--- a/package/gettext/gettext.mk
+++ b/package/gettext/gettext.mk
@@ -82,16 +82,10 @@ $(GETTEXT_DIR)/.configured: $(GETTEXT_DIR)/.unpacked
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) \
- --prefix=/usr \
- --exec-prefix=/usr \
- --bindir=/usr/bin \
- --sbindir=/usr/sbin \
- --libexecdir=/usr/lib \
- --sysconfdir=/etc \
- --datadir=/usr/share \
- --localstatedir=/var \
- --mandir=/usr/man \
- --infodir=/usr/info \
+ --prefix=$(STAGING_DIR) \
+ --exec_prefix=$(STAGING_DIR) \
+ --libdir=$(STAGING_DIR)/lib \
+ --includedir=$(STAGING_DIR)/include \
--disable-libasprintf \
);
touch $(GETTEXT_DIR)/.configured
@@ -101,19 +95,7 @@ $(GETTEXT_DIR)/$(GETTEXT_BINARY): $(GETTEXT_DIR)/.configured
touch -c $(GETTEXT_DIR)/$(GETTEXT_BINARY)
$(STAGING_DIR)/$(GETTEXT_TARGET_BINARY): $(GETTEXT_DIR)/$(GETTEXT_BINARY)
- $(MAKE) prefix=$(STAGING_DIR) \
- exec_prefix=$(STAGING_DIR) \
- bindir=$(STAGING_DIR)/bin \
- sbindir=$(STAGING_DIR)/sbin \
- libexecdir=$(STAGING_DIR)/usr/lib \
- datadir=$(STAGING_DIR)/share \
- sysconfdir=$(STAGING_DIR)/etc \
- localstatedir=$(STAGING_DIR)/var \
- libdir=$(STAGING_DIR)/usr/lib \
- infodir=$(STAGING_DIR)/info \
- mandir=$(STAGING_DIR)/man \
- includedir=$(STAGING_DIR)/include \
- -C $(GETTEXT_DIR) install;
+ $(MAKE) -C $(GETTEXT_DIR) install;
gettext: uclibc $(STAGING_DIR)/$(GETTEXT_TARGET_BINARY)