Date: Mon, 6 Jan 2014 02:54:47 +0900 From: KATO Tsuguru <tkato432@yahoo.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/185514: graphics/lfview: Fix build on -current Message-ID: <20140106025447.4bc56b4dda7b2d5572e7abe3@yahoo.com> Resent-Message-ID: <201401051810.s05IA5vK085105@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 185514 >Category: ports >Synopsis: graphics/lfview: Fix build on -current >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: Sun Jan 05 18:10:05 UTC 2014 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 8.4-RELEASE-p4 i386 >Organization: >Environment: >Description: - Fix build on -current >How-To-Repeat: >Fix: diff -urN /usr/ports/graphics/lfview/Makefile graphics/lfview/Makefile --- /usr/ports/graphics/lfview/Makefile 2013-11-06 22:01:37.000000000 +0900 +++ graphics/lfview/Makefile 2014-01-06 00:00:00.000000000 +0900 @@ -11,26 +11,28 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Graphic viewer for Leaf products +OPTIONS_DEFINE= DOCS + USES= imake USE_XORG= x11 xext USE_LDCONFIG= yes NO_INSTALL_MANPAGES= yes -NO_STAGE= yes +DOCSDIR= ${PREFIX}/share/doc/ja/lfview + .include <bsd.port.pre.mk> -.if ${ARCH} == "amd64" +.if ${ARCH} != "i386" +MAKE_ENV+= SHLIBGLOBALSFLAGS="-fPIC" CFLAGS+= -fPIC -MAKE_ENV= "SHLIBGLOBALSFLAGS=-fPIC" .endif do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/lfview ${PREFIX}/bin - ${INSTALL_DATA} ${WRKSRC}/plugins/liblfv_leaf.so.1 ${PREFIX}/lib - ${LN} -s ${PREFIX}/lib/liblfv_leaf.so.1 ${PREFIX}/lib/liblfv_leaf.so -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${PREFIX}/share/doc/ja/lfview - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/ja/lfview -.endif + (cd ${WRKSRC} && ${INSTALL_PROGRAM} lfview ${STAGEDIR}${PREFIX}/bin) + (cd ${WRKSRC}/plugins && ${INSTALL_LIB} liblfv_leaf.so.1 \ + ${STAGEDIR}${PREFIX}/lib) + ${LN} -s liblfv_leaf.so.1 ${STAGEDIR}${PREFIX}/lib/liblfv_leaf.so + ${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC} && ${INSTALL_DATA} README ${STAGEDIR}${DOCSDIR}) .include <bsd.port.post.mk> >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140106025447.4bc56b4dda7b2d5572e7abe3>