summaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
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)