summaryrefslogtreecommitdiff
path: root/www/larbin
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2002-11-16 00:08:05 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2002-11-16 00:08:05 +0000
commit27e73618d65915dc52dbbfce35300dd24344678e (patch)
tree175157c0f4a2cd59a07ad5a0e5362a45f91035ec /www/larbin
parentUpdate 1.2.6 --> 1.2.7 (diff)
Larbin is using makedepend, which is part of devel/imake or devel/imake-4
Noticed on: bento
Notes
Notes: svn path=/head/; revision=70212
Diffstat (limited to 'www/larbin')
-rw-r--r--www/larbin/Makefile10
1 files changed, 9 insertions, 1 deletions
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 <bsd.port.pre.mk>
+
+.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 <bsd.port.mk>
+.include <bsd.port.post.mk>