1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

Instead, depend on it if WITH_OPTIONAL_DEPENDS is defined and ARCH is i386.

Submitted by: Simon Barner <barner@in.tum.de>
Pointy hat for missing that patch while reading the mail: me
This commit is contained in:
Michael Nottebrock 2004-08-06 14:20:08 +00:00
parent 8cc0b5e9ad
commit 53cbaf5767
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=115508
2 changed files with 34 additions and 4 deletions

View File

@ -31,9 +31,24 @@ GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
LDCONFIG_DIRS= %%PREFIX%%/lib %%PREFIX%%/lib/kde3
.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
.include <bsd.port.pre.mk>
pre-everything::
.if !defined(WITH_OPTIONAL_DEPENDS)
@${ECHO_MSG}
@${ECHO_MSG} "You may define WITH_OPTIONAL_DEPENDS (make WITH_OPTIONAL_DEPENDS=YES)"
@${ECHO_MSG} "to automatically build the suggested programs to complement kdesdk3."
@${ECHO_MSG}
.endif
# calltree is optional. It depends on valgrind, which is i386 only.
.if defined(WITH_OPTIONAL_DEPENDS) && ${ARCH} == "i386"
RUN_DEPENDS+= calltree:${PORTSDIR}/devel/calltree
.endif
pre-configure:
@${REINPLACE_CMD} -e 's|-I$$ac_db_includes|-I${LOCALBASE}/include/db4|g' \
-e 's|ac_db_name="db"|ac_db_name="db4"|g' ${WRKSRC}/configure
.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
.include <bsd.port.mk>
.include <bsd.port.post.mk>

View File

@ -31,9 +31,24 @@ GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
LDCONFIG_DIRS= %%PREFIX%%/lib %%PREFIX%%/lib/kde3
.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
.include <bsd.port.pre.mk>
pre-everything::
.if !defined(WITH_OPTIONAL_DEPENDS)
@${ECHO_MSG}
@${ECHO_MSG} "You may define WITH_OPTIONAL_DEPENDS (make WITH_OPTIONAL_DEPENDS=YES)"
@${ECHO_MSG} "to automatically build the suggested programs to complement kdesdk3."
@${ECHO_MSG}
.endif
# calltree is optional. It depends on valgrind, which is i386 only.
.if defined(WITH_OPTIONAL_DEPENDS) && ${ARCH} == "i386"
RUN_DEPENDS+= calltree:${PORTSDIR}/devel/calltree
.endif
pre-configure:
@${REINPLACE_CMD} -e 's|-I$$ac_db_includes|-I${LOCALBASE}/include/db4|g' \
-e 's|ac_db_name="db"|ac_db_name="db4"|g' ${WRKSRC}/configure
.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
.include <bsd.port.mk>
.include <bsd.port.post.mk>