ports/misc/img2xterm/files/patch-Makefile
2017-05-08 18:40:07 +00:00

22 lines
532 B
Text

--- Makefile.orig 2017-05-08 16:25:31.094039000 +0200
+++ Makefile 2017-05-08 16:25:49.406674000 +0200
@@ -1,19 +1,3 @@
-PREFIX = /usr/local
-INSTALL = install
-LN = ln -fs
-
-ifeq ($(shell sh -c 'which gcc>/dev/null 2>/dev/null && echo y'), y)
- CC = gcc
- CFLAGS = -O2 -Wall
- LDFLAGS = -s
-endif
-
-ifeq ($(shell sh -c 'uname'), Darwin)
- CC = clang
- CFLAGS = -O2 -Wall
- LDFLAGS =
-endif
-
ifeq ($(shell sh -c 'which ncurses5-config>/dev/null 2>/dev/null && echo y'), y)
DEFS =
CFLAGS += $(shell ncurses5-config --cflags)