From 6c7f89fdd5fb3d98e27520a0f88637ffa2c61d72 Mon Sep 17 00:00:00 2001
From: P. J. McDermott <pjm@nac.net>
Date: Mon, 09 Apr 2012 21:33:19 -0400
Subject: And now it builds!

---
diff --git a/build b/build
index 7dd9f47..ab98c88 100755
--- a/build
+++ b/build
@@ -1,16 +1,17 @@
 #! /usr/bin/make -f
 
-gettext gettext-doc: gettext.buildstamp
+gettext gettext-dev gettext-doc: gettext.buildstamp
 
 .SILENT: gettext.buildstamp
 gettext.buildstamp:
-	cd src && \
-		gettext-runtime/configure --prefix=/usr \
+	cd src/gettext-runtime && \
+		./configure --prefix=/usr \
 		--enable-threads --disable-java && \
-		make && make DESTDIR=$$(pwd)/../dest install
-#	oh-strip -gl /usr/lib/
-	oh-installfiles gettext gettext-doc
+		make && make DESTDIR=$$(pwd)/../../dest install
+	oh-strip -gl /usr/lib/libasprintf.so.0.0.0
+	oh-strip -g /usr/bin/gettext /usr/bin/ngettext /usr/bin/envsubst
+	oh-installfiles gettext gettext-dev gettext-doc
 	oh-installdocs gettext
-	oh-gencontrol gettext gettext-doc
-	oh-buildopk gettext gettext-doc
+	oh-gencontrol gettext gettext-dev gettext-doc
+	oh-buildopk gettext gettext-dev gettext-doc
 	touch gettext.buildstamp
diff --git a/gettext-dev.pkg/install b/gettext-dev.pkg/install
index 87ebdda..79da711 100644
--- a/gettext-dev.pkg/install
+++ b/gettext-dev.pkg/install
@@ -1,4 +1,4 @@
-/usr/share/man/man1
+/usr/share/man/man3
 /usr/include
 /usr/lib/libasprintf.a
 /usr/lib/libasprintf.la
diff --git a/gettext.pkg/install b/gettext.pkg/install
index 0c07f69..9dbcc7b 100644
--- a/gettext.pkg/install
+++ b/gettext.pkg/install
@@ -1,4 +1,3 @@
 /usr/bin
-/usr/lib
 /usr/share/locale
 /usr/lib/libasprintf.so*
--
cgit v0.9.1