From 09fbfa4d29b1d840251097772c1b49aab0238e19 Mon Sep 17 00:00:00 2001 From: Rong-En Fan Date: Sat, 12 Aug 2006 04:07:30 +0000 Subject: - Respect DESTDIR PR: ports/101838 Submitted by: Gea-Suan Lin --- astro/p5-Astro-Catalog/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'astro') diff --git a/astro/p5-Astro-Catalog/Makefile b/astro/p5-Astro-Catalog/Makefile index d028ec281443..2bab29aff640 100644 --- a/astro/p5-Astro-Catalog/Makefile +++ b/astro/p5-Astro-Catalog/Makefile @@ -70,9 +70,9 @@ post-patch: 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} ${TARGETDIR}/etc/${f}.default +.if !exists(${TARGETDIR}/etc/${f}) + ${INSTALL_DATA} ${WRKSRC}/etc/${f} ${TARGETDIR}/etc/${f} .endif .endfor -- cgit v1.2.3