aboutsummaryrefslogtreecommitdiffstats
path: root/cad
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2003-05-12 17:01:34 +0800
committerijliao <ijliao@FreeBSD.org>2003-05-12 17:01:34 +0800
commit003d8d011e684055aba4814eb939959fbde20a1f (patch)
tree3e1976ab55ce2dd3cdac408c7a87d095c2f1fa75 /cad
parent87cba10a689f52aae3774dd85cb88737c3f783cf (diff)
downloadfreebsd-ports-gnome-003d8d011e684055aba4814eb939959fbde20a1f.tar.gz
freebsd-ports-gnome-003d8d011e684055aba4814eb939959fbde20a1f.tar.zst
freebsd-ports-gnome-003d8d011e684055aba4814eb939959fbde20a1f.zip
Support CXXFLAGS properly
PR: 51935 Submitted by: Ports Fury
Diffstat (limited to 'cad')
-rw-r--r--cad/qfsm/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/cad/qfsm/Makefile b/cad/qfsm/Makefile
index f83a0786add8..6b845b9ba419 100644
--- a/cad/qfsm/Makefile
+++ b/cad/qfsm/Makefile
@@ -8,6 +8,7 @@
PORTNAME= qfsm
PORTVERSION= 0.41
+PORTREVISION= 1
CATEGORIES= cad
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -21,6 +22,10 @@ USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+post-patch:
+ @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|^AM_CXXFLAGS =.*$$|AM_CXXFLAGS =|g'
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/qfsm ${PREFIX}/bin
.if !defined(NOPORTDOCS)