summaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2003-05-12 09:01:34 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2003-05-12 09:01:34 +0000
commit4691ac478ddc7c1971df9d824a7ec71d0ffef57d (patch)
treec7c18d602c4cb96bb87a589468db5f836a72cb7e /cad
parentUpgrade to version 0.9.8 (diff)
Support CXXFLAGS properly
PR: 51935 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=80811
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)