Commits

Kurt Hindenburg authored a79493e56cb
tldr-cpp-client: new port

closes https://trac.macports.org/ticket/53753
No tags

sysutils/tldr-cpp-client/files/patch-Makefile.diff

Added
1 +--- Makefile 2016-09-09 04:18:27.000000000 -0400
2 ++++ Makefile 2017-03-11 09:51:13.000000000 -0500
3 +@@ -1,6 +1,6 @@
4 + # General
5 +-CC = gcc
6 +-LD = gcc
7 ++#CC = gcc
8 ++#LD = gcc
9 + RM = rm -rf
10 + RMDIR = rmdir
11 + INSTALL = install
12 +@@ -45,16 +45,9 @@
13 + ALL_CPPFLAGS := $(CPPFLAGS) -DVERSION='"$(VER)"'
14 + ALL_CPPFLAGS += -D_GNU_SOURCE
15 + ALL_CPPFLAGS += $(shell pkg-config --cflags libzip)
16 +-ALL_CPPFLAGS += -I/usr/include
17 +-ALL_CPPFLAGS += -I/usr/local/include
18 +-ALL_CPPFLAGS += -I/usr/local/opt/curl/include
19 +-ALL_CPPFLAGS += -I/usr/local/opt/libzip/include
20 +
21 + # Linker Flags
22 +-ALL_LDFLAGS := $(LDFLAGS) -L/usr/lib
23 +-ALL_LDFLAGS += -L/usr/local/lib
24 +-ALL_LDFLAGS += -L/usr/local/opt/curl/lib
25 +-ALL_LDFLAGS += -L/usr/local/opt/libzip/lib
26 ++ALL_LDFLAGS := $(LDFLAGS)
27 + ALL_LDLIBS := -lc -lm -lcurl -lzip
28 +
29 +

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut