aboutsummaryrefslogtreecommitdiff
path: root/irc/slirc/files/patch-Makefile
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-01-06 18:54:10 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-01-06 18:54:10 +0000
commit91cfe10d515dec397f134f5689180df3d8bfa87b (patch)
treefb5f46111480e2b91b766482a050ee34aa747554 /irc/slirc/files/patch-Makefile
parent3cc329279eafafcaa410b0a4d097281aa02e8838 (diff)
Notes
Diffstat (limited to 'irc/slirc/files/patch-Makefile')
-rw-r--r--irc/slirc/files/patch-Makefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/irc/slirc/files/patch-Makefile b/irc/slirc/files/patch-Makefile
new file mode 100644
index 000000000000..c5ad06f4d151
--- /dev/null
+++ b/irc/slirc/files/patch-Makefile
@@ -0,0 +1,29 @@
+--- Makefile.orig Tue Aug 24 05:42:02 1999
++++ Makefile Sat Jan 6 08:50:21 2001
+@@ -1,10 +1,10 @@
+ #!/bin/make -f
+
+-CC=gcc
+-CFLAGS:=-Wall -Wmissing-declarations -Wstrict-prototypes -O2 -Iinclude
++CC?=cc
++CFLAGS+=-Wall -Wmissing-declarations -Wstrict-prototypes -I$(SLANG_INCDIR) $(KANJI)
+ SOFLAGS:=-shared -fPIC -Wl,-export-dynamic
+ LDFLAGS:=-s
+-LIBS:=-ldl -lm -Llib -lslang
++LIBS:=-lm -ltermcap -L$(SLANG_LIBDIR) -lslang
+
+ pwd:=$(shell pwd)
+
+@@ -45,9 +45,9 @@
+ [ -d $(lib_dir) ] || mkdir -p $(lib_dir)
+ [ -d $(CFG_DIR) ] || mkdir -p $(CFG_DIR)
+ [ -d $(script_dir) ] || mkdir -p $(script_dir)
+- install -p -o root -g root -m755 slirc $(bin_dir)
+- install -p -o root -g root -m755 $(MODULES) $(CFG_DIR)
+- install -p -o root -g root -m644 scripts/*.sl $(script_dir)
++ install -p -o root -g wheel -m755 slirc $(bin_dir)
++ install -p -o root -g wheel -m755 $(MODULES) $(CFG_DIR)
++ install -p -o root -g wheel -m644 scripts/*.sl $(script_dir)
+ endif
+
+ slirc: slirc.o lru.o slload.o windoze.o