From 37682257d5e4c11729de739a083dc83a5a0d3ad3 Mon Sep 17 00:00:00 2001 From: linimon Date: Sun, 9 Nov 2003 16:35:23 +0000 Subject: 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). --- x11-toolkits/viewklass/Makefile | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'x11-toolkits/viewklass') 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 -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 -- cgit