From 27e73618d65915dc52dbbfce35300dd24344678e Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Sat, 16 Nov 2002 00:08:05 +0000 Subject: [PATCH] Larbin is using makedepend, which is part of devel/imake or devel/imake-4 Noticed on: bento --- www/larbin/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/www/larbin/Makefile b/www/larbin/Makefile index 3445c3969f09..f5b38d5e46fd 100644 --- a/www/larbin/Makefile +++ b/www/larbin/Makefile @@ -20,6 +20,14 @@ USE_REINPLACE= yes PATCH_WRKSRC= ${WRKSRC}/src MAKE_ARGS= CXX=${CXX} +.include + +.if ${XFREE86_VERSION} == 3 +BUILD_DEPENDS+= makedepend:${PORTSDIR}/devel/imake +.else +BUILD_DEPENDS+= makedepend:${PORTSDIR}/devel/imake-4 +.endif + post-patch: @${SED} -e 's,CC=,CC?=,' -e 's,CFLAGS=-O3,CFLAGS+=,' < \ ${WRKSRC}/adns/Makefile > ${WRKSRC}/adns/Makefile.new @@ -55,4 +63,4 @@ post-install: @${ECHO} "" @${ECHO} "=====================================================================" -.include +.include