aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2003-11-10 00:35:23 +0800
committerlinimon <linimon@FreeBSD.org>2003-11-10 00:35:23 +0800
commit37682257d5e4c11729de739a083dc83a5a0d3ad3 (patch)
tree9ba8ebad37c835baddc680223c4ca4825d20a720 /x11-toolkits
parent5cb58f9e07e5a65de8500be7fdcc661a087309c0 (diff)
downloadfreebsd-ports-gnome-37682257d5e4c11729de739a083dc83a5a0d3ad3.tar.gz
freebsd-ports-gnome-37682257d5e4c11729de739a083dc83a5a0d3ad3.tar.zst
freebsd-ports-gnome-37682257d5e4c11729de739a083dc83a5a0d3ad3.zip
Fix ordering: inclusion of definitions of variables; inclusion of
bsd.port.pre.mk; inclusion of things that depend on both. While here, pacify portlint a bit. PR: ports/57502 (partial).
Diffstat (limited to 'x11-toolkits')
-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 6e6aa6d9e403..9abbcd507843 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>