From 6dd7168cddcf03645b7b524d0eaec762ba4a5c26 Mon Sep 17 00:00:00 2001
From: will <will@FreeBSD.org>
Date: Sat, 17 Jun 2000 02:37:15 +0000
Subject: Lots and lots of cleanups.  Teach p5-* in general about
 PKGNAMEPREFIX. Add some missing/wrong dependencies.  Show how to respect
 CC/CFLAGS.  Many miscellaneous modifications.  I used more excessive hacks to
 force p5-Jcode and p5-WWW-Search to respect CC/CFLAGS.

Patches largely done by:	Christian Weisgerber <naddy@mips.inka.de>
---
 devel/p5-Devel-DProf/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'devel/p5-Devel-DProf')

diff --git a/devel/p5-Devel-DProf/Makefile b/devel/p5-Devel-DProf/Makefile
index 058dd10..50d9689 100644
--- a/devel/p5-Devel-DProf/Makefile
+++ b/devel/p5-Devel-DProf/Makefile
@@ -14,8 +14,7 @@ PKGNAMEPREFIX=	p5-Devel-
 
 MAINTAINER=	jfitz@FreeBSD.org
 
-CONFIGURE_ARGS=	PREFIX=${PREFIX}
-USE_PERL5=	YES
+USE_PERL5=	yes
 
 MAN1PREFIX=	${PREFIX}
 MAN1=		dprofpp.1
@@ -23,6 +22,7 @@ MAN3PREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}
 MAN3=		Devel::DProf.3
 
 do-configure:
-		@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL ${CONFIGURE_ARGS}
+		@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL \
+			PREFIX="${PREFIX}" CC="${CC}" CCFLAGS="${CFLAGS}"
 
 .include <bsd.port.mk>
-- 
cgit v1.1