aboutsummaryrefslogtreecommitdiff
path: root/xorg/libXpm/build
diff options
context:
space:
mode:
Diffstat (limited to 'xorg/libXpm/build')
-rwxr-xr-xxorg/libXpm/build13
1 files changed, 13 insertions, 0 deletions
diff --git a/xorg/libXpm/build b/xorg/libXpm/build
new file mode 100755
index 00000000..c5c4cbd1
--- /dev/null
+++ b/xorg/libXpm/build
@@ -0,0 +1,13 @@
+#!/bin/sh -e
+
+# Patch out gettext dependency
+for dir in sxpm cxpm; do
+ sed 's/xgettext/true/g' "$dir/Makefile.in" > "$dir/m.bak"
+ mv "$dir/m.bak" "$dir/Makefile.in"
+done
+
+./configure \
+ --prefix=/usr
+
+make
+make DESTDIR="$1" install