From 556f63c97e69a6c80a31322100ba7c93948e2d56 Mon Sep 17 00:00:00 2001
From: joerg <joerg>
Date: Tue, 10 Jan 2006 17:23:14 +0000
Subject: Pass LDFLAGS down to configure twice: once using the normal LDFLAGS
 done automatically, once as ILDFLAGS, which ends up to be actually used. This
 fixes rpath linkage on DragonFly.

---
 textproc/yodl/Makefile | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/textproc/yodl/Makefile b/textproc/yodl/Makefile
index d0c43bb10d5..afbe7849f4d 100644
--- a/textproc/yodl/Makefile
+++ b/textproc/yodl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2005/05/22 20:08:43 jlam Exp $
+# $NetBSD: Makefile,v 1.18 2006/01/10 17:23:14 joerg Exp $
 
 DISTNAME=	yodl-1.31.18
 PKGREVISION=	3
@@ -14,9 +14,7 @@ BUILD_DEPENDS+=	bison-[0-9]*:../../devel/bison
 GNU_CONFIGURE=	YES
 USE_TOOLS+=	gmake
 MAKEFILE=	GNUmakefile
-
-do-build:
-	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} LDFLAGS="${LDFLAGS}"
+CONFIGURE_ENV+=	ILDFLAGS=${LDFLAGS:Q}
 
 .include "../../lang/python/application.mk"
 .include "../../devel/gettext-lib/buildlink3.mk"
-- 
cgit v1.2.3