Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Aug 2006 02:53:04 +0800 (CST)
From:      Gea-Suan Lin <gslin@gslin.org>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        perl@FreeBSD.org, gslin@gslin.org
Subject:   [PATCH] astro/p5-Astro-Catalog: Respect DESTDIR
Message-ID:  <20060811185304.6E793371@netnews.NCTU.edu.tw>

next in thread | raw e-mail | index | archive | help

>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@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 ---




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060811185304.6E793371>