1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00
freebsd-ports/comms/picocom/files/patch-Makefile
Pawel Pekala 03ffc1791a - Update to version 2.1, now hosted at GitHub
- Removed need to use gmake or specify ALL_TARGET
- Define LICENSE
- Respect CFLAGS, CPPFLAGS, LDFLAGS during build
- Add DEBUG option

PR:		203842
Submitted by:	Sergey Kozlov
2015-10-29 22:13:37 +00:00

18 lines
292 B
Plaintext

--- Makefile.orig 2015-10-15 21:25:02 UTC
+++ Makefile
@@ -2,11 +2,11 @@
VERSION = 2.1
#CC = gcc
-CPPFLAGS = -DVERSION_STR=\"$(VERSION)\"
-CFLAGS = -Wall -g
+CPPFLAGS += -DVERSION_STR=\"$(VERSION)\"
+CFLAGS ?= -Wall -g
LD = $(CC)
-LDFLAGS = -g
+LDFLAGS ?= -g
LDLIBS =
all: picocom