From cf6e02ff81e965d035559aff4c5f41974480928c Mon Sep 17 00:00:00 2001
From: "Vanilla I. Shu" <vanilla@FreeBSD.org>
Date: Fri, 14 Dec 2012 13:41:04 +0000
Subject: Fix build.

Submitted by:	Akihiko HAYASHI <hayashi at totalware.gifu.gifu.jp>
---
 lang/v8/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'lang/v8')

diff --git a/lang/v8/Makefile b/lang/v8/Makefile
index 087943ca631c..97c2ec5c94bf 100644
--- a/lang/v8/Makefile
+++ b/lang/v8/Makefile
@@ -20,6 +20,8 @@ ALL_TARGET=	native
 
 MAKE_ARGS=	library=shared
 
+.include <bsd.port.pre.mk>
+
 .if ${CC:T:Mclang} == "clang" || ${CXX:T:Mclang++} == "clang++" || ${OSVERSION} >= 1000024
 MAKE_ENV+=	LINK=clang++
 .else
@@ -40,4 +42,4 @@ do-install:
 	${INSTALL_DATA} ${WRKSRC}/include/v8-testing.h ${PREFIX}/include/
 	${INSTALL_DATA} ${WRKSRC}/include/v8stdint.h ${PREFIX}/include/
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
-- 
cgit debian/1.2.3+git2.25.1-1-2-gaceb0