summaryrefslogtreecommitdiff
path: root/packages/u2nl/files/buildsystem.patch
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2005-06-30 08:19:37 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-06-30 08:19:37 +0000
commitc8e5702127e507e82e6f68a4b8c546803accea9d (patch)
tree00583491f40ecc640f2b28452af995e3a63a09d7 /packages/u2nl/files/buildsystem.patch
parent87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff)
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/u2nl/files/buildsystem.patch')
-rw-r--r--packages/u2nl/files/buildsystem.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/packages/u2nl/files/buildsystem.patch b/packages/u2nl/files/buildsystem.patch
index e69de29bb2..2877a01729 100644
--- a/packages/u2nl/files/buildsystem.patch
+++ b/packages/u2nl/files/buildsystem.patch
@@ -0,0 +1,34 @@
+Index: u2nl-1.1/Makefile
+===================================================================
+--- u2nl-1.1.orig/Makefile 2005-03-06 16:32:23.000000000 -0500
++++ u2nl-1.1/Makefile 2005-03-11 02:38:00.454572600 -0500
+@@ -1,10 +1,25 @@
++CC = gcc
++CFLAGS = -Wall -g
++LDFLAGS =
++
++DESTDIR =
++prefix = /usr/local
++bindir = $(prefix)/bin
++
++INSTALL_BIN = install -m 0755
++INSTALL_DIR = install -d
++
+ all: u2nl
+
+ u2nl: u2nl.c
+- gcc $(CFLAGS) -Wall -g u2nl.c -o u2nl
+-
++ $(CC) $(CFLAGS) $(LDFLAGS) u2nl.c -o u2nl
++
+ install:
+- cp u2nl /usr/local/bin
++ $(INSTALL_DIR) $(DESTDIR)$(bindir)
++ $(INSTALL_BIN) u2nl $(DESTDIR)$(bindir)/u2nl
++
++uninstall:
++ -rm -f $(DESTDIR)$(bindir)/u2nl
+
+ clean:
+- rm -fR u2nl
++ -rm -fR u2nl