aboutsummaryrefslogtreecommitdiff
path: root/comms/ebook2cw/files/patch-Makefile
diff options
context:
space:
mode:
authorDiane Bruce <db@FreeBSD.org>2008-07-18 14:57:43 +0000
committerDiane Bruce <db@FreeBSD.org>2008-07-18 14:57:43 +0000
commit5d1097a0db04abd08b696bd55781c12d07fe92f9 (patch)
treecce287ec819f51bf7cc743672beff623e6dc8d04 /comms/ebook2cw/files/patch-Makefile
parent658f6d2c05a019d32af317a5dbc23592f1815b43 (diff)
downloadports-5d1097a0db04abd08b696bd55781c12d07fe92f9.tar.gz
ports-5d1097a0db04abd08b696bd55781c12d07fe92f9.zip
Notes
Diffstat (limited to 'comms/ebook2cw/files/patch-Makefile')
-rw-r--r--comms/ebook2cw/files/patch-Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/comms/ebook2cw/files/patch-Makefile b/comms/ebook2cw/files/patch-Makefile
new file mode 100644
index 000000000000..bf9c5e8f825b
--- /dev/null
+++ b/comms/ebook2cw/files/patch-Makefile
@@ -0,0 +1,17 @@
+--- Makefile.orig 2008-07-03 10:36:58.000000000 -0400
++++ Makefile 2008-07-18 08:34:18.000000000 -0400
+@@ -1,12 +1,12 @@
+ # ebook2cw Makefile -- Fabian Kurz, DJ1YFK -- http://fkurz.net/ham/ebook2cw.html
+
+ VERSION=0.7.0
+-DESTDIR ?= /usr
++DESTDIR ?= %%PREFIX%%
+
+ all: ebook2cw
+
+ ebook2cw: ebook2cw.c codetables.h
+- gcc ebook2cw.c -pedantic -Wall -lm -lmp3lame -D VERSION=\"$(VERSION)\" -o ebook2cw
++ ${CC} -I%%PREFIX%%/include -L%%PREFIX%%/lib ebook2cw.c ${CFLAGS} -lm -lmp3lame -D VERSION=\"$(VERSION)\" -o ebook2cw
+
+ static:
+ gcc -static ebook2cw.c -lmp3lame -lm -D VERSION=\"$(VERSION)\" -o ebook2cw