summaryrefslogtreecommitdiff
path: root/math/sc-im/files/patch-Makefile
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2017-12-15 10:53:54 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2017-12-15 10:53:54 +0000
commit1994117e17037c273ab33c73e865cec1b0e003ef (patch)
tree3826082918ddaee78e5fb181f4847af476c4048e /math/sc-im/files/patch-Makefile
parent- Switch to options helpers (diff)
Update to 0.7.0
Register ncurses dependency
Diffstat (limited to 'math/sc-im/files/patch-Makefile')
-rw-r--r--math/sc-im/files/patch-Makefile35
1 files changed, 0 insertions, 35 deletions
diff --git a/math/sc-im/files/patch-Makefile b/math/sc-im/files/patch-Makefile
deleted file mode 100644
index ff5e326552b8..000000000000
--- a/math/sc-im/files/patch-Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
---- Makefile.orig 2017-04-20 00:14:03 UTC
-+++ Makefile
-@@ -69,12 +69,10 @@ LDLIBS += -lxlsxwriter
- endif
-
- # NOTE: lua support
--ifneq ($(shell pkg-config --exists lua51 || echo 'no'),no)
--CFLAGS += -DXLUA $(shell pkg-config --cflags lua51)
--LDLIBS += $(shell pkg-config --libs lua51) -Wl,--export-dynamic
-+ifneq ($(shell pkg-config --exists lua-5.1 || echo 'no'),no)
-+CFLAGS += -DXLUA $(shell pkg-config --cflags lua-5.1)
-+LDLIBS += $(shell pkg-config --libs lua-5.1) -Wl,--export-dynamic
- endif
--# dynamic linking
--LDLIBS += -ldl
-
-
- OBJS = $(patsubst %.c, %.o, $(wildcard *.c) $(wildcard utils/*.c)) gram.o
-@@ -88,13 +86,13 @@ install :
- install $(name) $(DESTDIR)$(prefix)/bin/$(name)
- install -d $(DESTDIR)$(HELPDIR)
- install doc $(DESTDIR)$(HELPDIR)/$(name)_help
-- install -d $(DESTDIR)$(prefix)/share/man/man1
-- install -m 644 sc-im.1 $(DESTDIR)$(prefix)/share/man/man1/$(name).1
-+ install -d $(DESTDIR)$(MANDIR)
-+ install -m 644 sc-im.1 $(DESTDIR)$(MANDIR)/$(name).1
-
- uninstall :
- -rm $(DESTDIR)$(prefix)/bin/$(name)
- -rm $(DESTDIR)$(HELPDIR)/$(name)_help
-- -rm $(DESTDIR)$(prefix)/share/man/man1/$(name).1
-+ -rm $(DESTDIR)$(prefix)$(MANDIR)/$(name).1
-
- $(name) : $(OBJS)
- $(CC) $(LDFLAGS) $^ -o $@ $(LDLIBS)