From 3302f07817d835228bcc3b0ecb41777e0214ce4c Mon Sep 17 00:00:00 2001
From: wollman <wollman@FreeBSD.org>
Date: Wed, 4 Feb 1998 16:23:28 +0000
Subject: Take markm out of his misery...  The patch belongs to the port's
 makefile, not bind's.

---
 dns/bind94/Makefile | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

(limited to 'dns/bind94')

diff --git a/dns/bind94/Makefile b/dns/bind94/Makefile
index 8808254..5a04901 100644
--- a/dns/bind94/Makefile
+++ b/dns/bind94/Makefile
@@ -3,7 +3,7 @@
 # Date created:		18 July 1997
 # Whom:			jseger@scds.com
 #
-# $Id: Makefile,v 1.1.1.1 1997/11/26 00:24:18 jseger Exp $
+# $Id: Makefile,v 1.2 1998/01/12 19:17:22 markm Exp $
 #
 
 DISTNAME=	bind-8.1.1
@@ -23,6 +23,12 @@ MAN8=		named-xfer.8 named.8 ndc.8 nslookup.8
 
 PATCH_ARGS?=	-d ${WRKDIR} -E ${PATCH_STRIP}
 
+PA_H=	${WRKSRC}/port/freebsd/include/port_after.h
+
+post-configure:
+	${MV} ${PA_H} ${PA_H}.orig
+	sed "s,/usr,${PREFIX}," ${PA_H}.orig >${PA_H}
+
 post-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/bin/named/named-bootconf.pl ${PREFIX}/bin/
 #	for i in ${MAN1}; do \
-- 
cgit v1.1