aboutsummaryrefslogtreecommitdiff
path: root/devel/datadraw/files/patch-configure
diff options
context:
space:
mode:
Diffstat (limited to 'devel/datadraw/files/patch-configure')
-rw-r--r--devel/datadraw/files/patch-configure35
1 files changed, 35 insertions, 0 deletions
diff --git a/devel/datadraw/files/patch-configure b/devel/datadraw/files/patch-configure
new file mode 100644
index 000000000000..70a35e1c26e6
--- /dev/null
+++ b/devel/datadraw/files/patch-configure
@@ -0,0 +1,35 @@
+--- configure.orig Fri Aug 31 15:45:53 2007
++++ configure Fri Aug 31 15:46:19 2007
+@@ -16,7 +16,7 @@
+ if [ "$CC" = "" ]; then
+ CC=gcc
+ fi
+-CFLAGS="-g -Wall -W -Wno-unused-parameter -Wno-unused-function -DDD_DEBUG -Iutil"
++CFLAGS="${CFLAGS} -Iutil"
+ LIBS="util/ddutil.a"
+
+ if [ "`uname -m`" = x86_64 ]; then
+@@ -79,12 +79,12 @@
+
+ clean:
+ rm -f \$(OBJECTS)
+- make -C util clean
++ gmake -C util clean
+
+ install: datadraw
+ install -d \$(PREFIX)/bin
+ install datadraw \$(PREFIX)/bin
+- make -C util PREFIX=\$(PREFIX) install
++ gmake -C util PREFIX=\$(PREFIX) install
+
+ deb:
+ fakeroot debian/rules binary && sudo dpkg -i ../*.deb
+@@ -100,7 +100,7 @@
+ datadraw src/Database.dd
+
+ util/ddutil.a:
+- make -C util
++ gmake -C util
+
+ " >> Makefile
+