Bug 101851 - [PATCH] math/PDL: Respect DESTDIR
Summary: [PATCH] math/PDL: Respect DESTDIR
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Mathieu Arnold
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-11 21:20 UTC by gslin
Modified: 2006-08-15 10:07 UTC (History)
1 user (show)

See Also:


Attachments
PDL-2.4.2_3.patch (34.62 KB, patch)
2006-08-11 21:20 UTC, gslin
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description gslin 2006-08-11 21:20:18 UTC
- Respect DESTDIR
- Fix portlint warnings about the filename of patches
- Use static pkg-plist

Added file(s):
- files/patch-Basic-Math-mconf.h
- files/patch-Lib-Slatec-Makefile.PL
- files/patch-perldl.conf
- pkg-plist

Removed file(s):
- files/patch-Lib::Slatec::Makefile.PL
- files/patch-aa
- files/patch-gg

Port maintainer (perl@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-08-11 21:20:55 UTC
Responsible Changed
From-To: freebsd-ports-bugs->perl

Over to maintainer
Comment 2 Mathieu Arnold freebsd_committer freebsd_triage 2006-08-14 11:28:20 UTC
Responsible Changed
From-To: perl->mat

Take
Comment 3 Mathieu Arnold freebsd_committer freebsd_triage 2006-08-14 12:00:25 UTC
State Changed
From-To: open->feedback

Could you submit another patch with only the DESTDIR changes ?
Comment 4 gslin 2006-08-14 21:19:28 UTC
On Mon, Aug 14, 2006 at 11:01:12AM +0000, Mathieu Arnold wrote:
> Synopsis: [PATCH] math/PDL: Respect DESTDIR
> 
> State-Changed-From-To: open->feedback
> State-Changed-By: mat
> State-Changed-When: Mon Aug 14 11:00:25 UTC 2006
> State-Changed-Why: 
> Could you submit another patch with only the DESTDIR changes ?
> 
> http://www.freebsd.org/cgi/query-pr.cgi?pr=101851

===> Generating patch
===> Viewing diff with less
diff -ruN --exclude=CVS /usr/ports/math/PDL/Makefile /home/staff/gslin/work/PDL/Makefile
--- /usr/ports/math/PDL/Makefile	Sat Aug  5 03:10:23 2006
+++ /home/staff/gslin/work/PDL/Makefile	Tue Aug 15 04:18:27 2006
@@ -35,10 +35,10 @@
 PERL_CONFIGURE=	yes
 USE_GMAKE=	yes
 MAKE_ENV+=	PERL5LIB=${WRKSRC}/blib/lib
-PLIST_DIRS=	${SITE_PERL:S,^${PREFIX}/,,}/${PERL_ARCH}/Inline
+PLIST_DIRS=	${SITE_PERL_REL}/${PERL_ARCH}/Inline
 PLIST_FILES=	bin/pdl bin/pdldoc bin/perldl bin/pptemplate \
-		${SITE_PERL:S,^${PREFIX}/,,}/${PERL_ARCH}/Inline/Pdlpp.pm \
-		${SITE_PERL:S,^${PREFIX}/,,}/${PERL_ARCH}/Inline/MakePdlppInstallable.pm
+		${SITE_PERL_REL}/${PERL_ARCH}/Inline/Pdlpp.pm \
+		${SITE_PERL_REL}/${PERL_ARCH}/Inline/MakePdlppInstallable.pm
 
 .if defined(KITCHEN_SINK)
 RUN_DEPENDS+=	ppmtogif:${PORTSDIR}/graphics/netpbm \
@@ -78,12 +78,12 @@
 	  cd ${WRKSRC}/blib/man1 ; \
 	  ${FIND} *.1 | ${SED} "s,^,man/man1/," >> ${TMPPLIST})
 	@(${FIND} ${SITE_PERL}/${PERL_ARCH}/PDL* -type f | \
-		${SED} "s,^${PREFIX}/,," >> ${TMPPLIST} ; \
+		${SED} "s,^${TARGETDIR}/,," >> ${TMPPLIST} ; \
 	  ${FIND} ${SITE_PERL}/${PERL_ARCH}/PDL* -type d | ${SORT} -r | \
-		${SED} "s,^${PREFIX}/,@dirrm ," >> ${TMPPLIST} ; \
+		${SED} "s,^${TARGETDIR}/,@dirrm ," >> ${TMPPLIST} ; \
 	  ${FIND} ${SITE_PERL}/${PERL_ARCH}/auto/PDL -type f | \
-		${SED} "s,^${PREFIX}/,," >> ${TMPPLIST} ; \
+		${SED} "s,^${TARGETDIR}/,," >> ${TMPPLIST} ; \
 	  ${FIND} ${SITE_PERL}/${PERL_ARCH}/auto/PDL -type d | ${SORT} -r | \
-		${SED} "s,^${PREFIX}/,@dirrm ," >> ${TMPPLIST})
+		${SED} "s,^${TARGETDIR}/,@dirrm ," >> ${TMPPLIST})
 
 .include <bsd.port.post.mk>
===> Done

-- 
* Gea-Suan Lin  (public key: Using https://keyserver.pgp.com/ to search)
* If you cannot convince them, confuse them.           -- Harry S Truman
Comment 5 Mathieu Arnold freebsd_committer freebsd_triage 2006-08-15 10:06:29 UTC
State Changed
From-To: feedback->closed

Committed, thanks for the second patch