Date: Sat, 12 Aug 2006 17:53:48 +0800 (CST) From: Gea-Suan Lin <gslin@gslin.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: gslin@gslin.org Subject: ports/101905: [PATCH] chinese/zhcon: Respect DESTDIR Message-ID: <20060812095348.A70C73AE@netnews.NCTU.edu.tw> Resent-Message-ID: <200608121000.k7CA0a8k097743@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 101905 >Category: ports >Synopsis: [PATCH] chinese/zhcon: 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: Sat Aug 12 10:00:30 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 (chinsan.tw@gmail.com) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- zhcon-0.2.5_1.patch begins here --- diff -ruN --exclude=CVS /usr/ports/chinese/zhcon/Makefile /home/staff/gslin/work/ports/zhcon/Makefile --- /usr/ports/chinese/zhcon/Makefile Wed Jul 19 23:43:33 2006 +++ /home/staff/gslin/work/ports/zhcon/Makefile Sat Aug 12 17:53:21 2006 @@ -28,14 +28,14 @@ MAN1= zhcon.1 post-patch: - @${REINPLACE_CMD} -e 's,/etc,${PREFIX}/etc,' ${WRKSRC}/doc/zhcon.1.in + @${REINPLACE_CMD} -e 's,/etc,${TARGETDIR}/etc,' ${WRKSRC}/doc/zhcon.1.in @${REINPLACE_CMD} -Ee 's,/dev/vga,/dev/ttyv0,g' ${WRKSRC}/src/display/fbdev.cpp @${REINPLACE_CMD} -Ee 's,endian,sys/endian,g' ${WRKSRC}/src/display/fblinear4.cpp \ ${WRKSRC}/src/display/fblinear8.cpp ${WRKSRC}/src/display/fblinear16.cpp \ ${WRKSRC}/src/display/fblinear24.cpp - @${REINPLACE_CMD} -e '5 s,#,,; s,/usr/lib,${PREFIX}/lib,' ${WRKSRC}/src/zhcon.conf - @${REINPLACE_CMD} -e 's,"/etc,PREFIX"/etc,' ${WRKSRC}/src/zhcon.cpp - @${REINPLACE_CMD} -Ee 's,(\s*=\s*)("?)/usr/local([^"]*)("?),\1\2${PREFIX}\3\4,g' \ + @${REINPLACE_CMD} -e '5 s,#,,; s,/usr/lib,${TARGETDIR}/lib,' ${WRKSRC}/src/zhcon.conf + @${REINPLACE_CMD} -e 's,"/etc,"${TARGETDIR}/etc,' ${WRKSRC}/src/zhcon.cpp + @${REINPLACE_CMD} -Ee 's,(\s*=\s*)("?)/usr/local([^"]*)("?),\1\2${TARGETDIR}\3\4,g' \ -e '/_nl_expand_alias/s,\(0\),\(\),g' ${WRKSRC}/${CONFIGURE_SCRIPT} .if defined(WITH_BIG5) @${REINPLACE_CMD} -e '11 s,gb2312,big5,' ${WRKSRC}/src/zhcon.conf --- zhcon-0.2.5_1.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?20060812095348.A70C73AE>