aboutsummaryrefslogtreecommitdiffstats
path: root/cad/gnucap/Makefile
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-12-22 21:23:19 +0800
committerijliao <ijliao@FreeBSD.org>2002-12-22 21:23:19 +0800
commitf109d0a9f0034ec3e1d4d50ab46b618d39b8ead4 (patch)
treed4a4f03285fe74d11503ffe7765c2601ab167c18 /cad/gnucap/Makefile
parent2b335d4b285d871ef50b99984e97d21c87d1efd3 (diff)
downloadfreebsd-ports-gnome-f109d0a9f0034ec3e1d4d50ab46b618d39b8ead4.tar.gz
freebsd-ports-gnome-f109d0a9f0034ec3e1d4d50ab46b618d39b8ead4.tar.zst
freebsd-ports-gnome-f109d0a9f0034ec3e1d4d50ab46b618d39b8ead4.zip
fix build on -current
PR: 46462 Submitted by: Ports Fury
Diffstat (limited to 'cad/gnucap/Makefile')
-rw-r--r--cad/gnucap/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/cad/gnucap/Makefile b/cad/gnucap/Makefile
index ba6b47ad09c5..a0f697dcc6d7 100644
--- a/cad/gnucap/Makefile
+++ b/cad/gnucap/Makefile
@@ -18,6 +18,8 @@ USE_REINPLACE= yes
USE_GMAKE= yes
MAKE_ENV= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}"
+CFLAGS+= -DNEEDS_COPY_N
+
post-patch:
.for file in src/Make2.g++ src/Make.aux modelgen/Make.aux
@${REINPLACE_CMD} -e "s|g\+\+|\$$\{CXX\}|g" \