mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 01:09:24 -04:00
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).
This commit is contained in:
parent
f2e3c77522
commit
050af2cc08
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=93557
1 changed files with 10 additions and 11 deletions
|
@ -16,20 +16,19 @@ DISTNAME= ViewKlass-${PORTVERSION}
|
||||||
MAINTAINER= ports@FreeBSD.org
|
MAINTAINER= ports@FreeBSD.org
|
||||||
COMMENT= C++ Framework for Motif
|
COMMENT= C++ Framework for Motif
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
|
||||||
|
|
||||||
BUILD_DEPENDS= xmkmf:${PORTSDIR}/devel/imake
|
|
||||||
.if ${XFREE86_VERSION} == 3
|
|
||||||
BUILD_DEPENDS= xmkmf:${PORTSDIR}/devel/imake
|
|
||||||
.else
|
|
||||||
BUILD_DEPENDS= xmkmf:${PORTSDIR}/devel/imake-4
|
|
||||||
.endif
|
|
||||||
|
|
||||||
USE_X_PREFIX= yes
|
USE_X_PREFIX= yes
|
||||||
USE_MOTIF= yes
|
USE_MOTIF= yes
|
||||||
USE_REINPLACE= yes
|
USE_REINPLACE= yes
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
|
|
||||||
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
|
.if ${XFREE86_VERSION} == 3
|
||||||
|
BUILD_DEPENDS+= xmkmf:${PORTSDIR}/devel/imake
|
||||||
|
.else
|
||||||
|
BUILD_DEPENDS+= xmkmf:${PORTSDIR}/devel/imake-4
|
||||||
|
.endif
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e 's/^CFLAGS=/CFLAGS+=/g ; \
|
@${REINPLACE_CMD} -e 's/^CFLAGS=/CFLAGS+=/g ; \
|
||||||
s/^CXXFLAGS=/CXXFLAGS+=/g ; \
|
s/^CXXFLAGS=/CXXFLAGS+=/g ; \
|
||||||
|
|
Loading…
Add table
Reference in a new issue