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:   ports/101838: [PATCH] astro/p5-Astro-Catalog: Respect DESTDIR
Message-ID:  <20060811185304.6E793371@netnews.NCTU.edu.tw>
Resent-Message-ID: <200608111900.k7BJ0bsV013639@freefall.freebsd.org>

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

>Number:         101838
>Category:       ports
>Synopsis:       [PATCH] astro/p5-Astro-Catalog: Respect DESTDIR
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 11 19:00:36 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Gea-Suan Lin
>Release:        FreeBSD 6.1-RELEASE i386
>Organization:
>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 ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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