From 50513d5d5238ab12e0e327b93bf433d7d288aeeb Mon Sep 17 00:00:00 2001
From: Erwin Lansing <erwin@FreeBSD.org>
Date: Fri, 4 Aug 2006 12:34:50 +0000
Subject: Add support for DESTDIR part I.

This commit should largele be a NOOP as it only adds support
for DESTDIR undefined. This does allow us to start testing
ports with DESTDIR set, but this is as of yet not supported.

Although this has been extensively tested on pointyhat, this
is a very intrusive change and some cases may have been
overlooked. Please contact Gabor and me if you find any.

PR:             100555
Submitted by:   gabor
Sponsored by:   Google Summer of Code 2006
---
 misc/ossp-uuid/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'misc/ossp-uuid')

diff --git a/misc/ossp-uuid/Makefile b/misc/ossp-uuid/Makefile
index 85d16c3c28b8..e0530893e41e 100644
--- a/misc/ossp-uuid/Makefile
+++ b/misc/ossp-uuid/Makefile
@@ -32,7 +32,7 @@ CONFIGURE_ENV+=	PERL=${PERL5}
 CONFIGURE_ARGS+=	--with-perl
 PLIST_SUB+=	WITH_PERL=''
 MAN3=		OSSP::uuid.3
-MAN3PREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}
+MAN3PREFIX=	${TARGETDIR}/lib/perl5/${PERL_VERSION}
 .else
 PLIST_SUB+=	WITH_PERL='@comment '
 .endif
-- 
cgit v1.2.3