summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/viewklass
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/viewklass')
-rw-r--r--x11-toolkits/viewklass/Makefile19
1 files changed, 9 insertions, 10 deletions
diff --git a/x11-toolkits/viewklass/Makefile b/x11-toolkits/viewklass/Makefile
index 6e6aa6d..9abbcd5 100644
--- a/x11-toolkits/viewklass/Makefile
+++ b/x11-toolkits/viewklass/Makefile
@@ -16,23 +16,22 @@ DISTNAME= ViewKlass-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= C++ Framework for Motif
+USE_X_PREFIX= yes
+USE_MOTIF= yes
+USE_REINPLACE= yes
+GNU_CONFIGURE= yes
+
.include <bsd.port.pre.mk>
-BUILD_DEPENDS= xmkmf:${PORTSDIR}/devel/imake
.if ${XFREE86_VERSION} == 3
-BUILD_DEPENDS= xmkmf:${PORTSDIR}/devel/imake
+BUILD_DEPENDS+= xmkmf:${PORTSDIR}/devel/imake
.else
-BUILD_DEPENDS= xmkmf:${PORTSDIR}/devel/imake-4
+BUILD_DEPENDS+= xmkmf:${PORTSDIR}/devel/imake-4
.endif
-USE_X_PREFIX= yes
-USE_MOTIF= yes
-USE_REINPLACE= yes
-GNU_CONFIGURE= yes
-
post-patch:
@${REINPLACE_CMD} -e 's/^CFLAGS=/CFLAGS+=/g ; \
- s/^CXXFLAGS=/CXXFLAGS+=/g ; \
- s/-g -Wall//g' ${WRKSRC}/Makefile.in
+ s/^CXXFLAGS=/CXXFLAGS+=/g ; \
+ s/-g -Wall//g' ${WRKSRC}/Makefile.in
.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud