Files
ports/lang/cparser/files/patch-Makefile
T
Tijl Coosemans 7d4723292c Update devel/gmake to 4.3.
Some changes have been made in this release that break backwards
compatibility.  Let USES=gmake force users to upgrade to this version so
port maintainers don't have to support older versions.

PR:		245725
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2020-05-09 19:24:49 +00:00

12 lines
378 B
Plaintext

--- Makefile.orig 2012-11-21 17:50:43 UTC
+++ Makefile
@@ -104,7 +104,7 @@ REVISION ?= $(shell git describe --abbrev=40 --always
# Update revision.h if necessary
UNUSED := $(shell \
- REV="\#define cparser_REVISION \"$(REVISION)\""; \
+ REV="#define cparser_REVISION \"$(REVISION)\""; \
echo "$$REV" | cmp -s - revision.h 2> /dev/null || echo "$$REV" > revision.h \
)