[PATCH] astro/p5-Astro-Catalog: Respect DESTDIR

Gea-Suan Lin gslin at gslin.org
Fri Aug 11 18:53:10 UTC 2006


>Submitter-Id:	current-users
>Originator:	Gea-Suan Lin
>Organization:	
>Confidential:	no 
>Synopsis:	[PATCH] astro/p5-Astro-Catalog: Respect DESTDIR
>Severity:	non-critical
>Priority:	low
>Category:	ports 
>Class:		change-request
>Release:	FreeBSD 6.1-RELEASE i386
>Environment:
System: FreeBSD netnews.NCTU.edu.tw 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sat May 13 03:43:48 CST 2006
>Description:
- Respect DESTDIR

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

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- p5-Astro-Catalog-4.1.0.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/astro/p5-Astro-Catalog/Makefile /home/staff/gslin/work/p5-Astro-Catalog/Makefile
--- /usr/ports/astro/p5-Astro-Catalog/Makefile	Fri May 19 04:24:10 2006
+++ /home/staff/gslin/work/p5-Astro-Catalog/Makefile	Sat Aug 12 02:52:06 2006
@@ -70,9 +70,9 @@
 
 post-install:
 .for f in ${CONFIG}
-	${INSTALL_DATA} ${WRKSRC}/etc/${f} ${PREFIX}/etc/${f}.default
-.if !exists(${PREFIX}/etc/${f})
-	${INSTALL_DATA} ${WRKSRC}/etc/${f} ${PREFIX}/etc/${f}
+	${INSTALL_DATA} ${WRKSRC}/etc/${f} ${DESTDIR}/etc/${f}.default
+.if !exists(${DESTDIR}/etc/${f})
+	${INSTALL_DATA} ${WRKSRC}/etc/${f} ${DESTDIR}/etc/${f}
 .endif
 .endfor
 
--- p5-Astro-Catalog-4.1.0.patch ends here ---



More information about the freebsd-perl mailing list