Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Aug 2019 07:47:38 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 240008] Issue with lzo2 port
Message-ID:  <bug-240008-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240008

            Bug ID: 240008
           Summary: Issue with lzo2 port
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: mandree@FreeBSD.org
          Reporter: kpect@protonmail.com
          Assignee: mandree@FreeBSD.org
             Flags: maintainer-feedback?(mandree@FreeBSD.org)

Hello.

It looks that DOCS and EXAMPLES options in Makefile of lzo2 port are not
rendered properly. All the files are being installed unconditionally:

post-install:
        ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/liblzo2.so.2
        ${MKDIR} ${STAGEDIR}${DOCSDIR}
        cd ${WRKSRC} && ${REINPLACE_CMD} -e 's,doc/,,' NEWS README
.for i in AUTHORS BUGS COPYING NEWS README THANKS
        ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}/
.endfor
        ${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}/
        ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
        ${INSTALL_DATA} ${WRKSRC}/examples/[a-z]*.[ch]
${STAGEDIR}${EXAMPLESDIR}/


$ pwd && make showconfig
/usr/ports/archivers/lzo2
=3D=3D=3D> The following configuration options are available for lzo2-2.10_=
1:
     DOCS=3Doff: Build and/or install documentation
     EXAMPLES=3Doff: Build and/or install examples
=3D=3D=3D> Use 'make config' to modify these settings

$ ll /usr/local/share/*/lzo2/
/usr/local/share/doc/lzo2/:
total 65
-rw-r--r--  1 root  wheel  uarch   112  4 =D0=B8=D1=8E=D0=BB=D1=8F  04:07 A=
UTHORS
-rw-r--r--  1 root  wheel  uarch   822  4 =D0=B8=D1=8E=D0=BB=D1=8F  04:07 B=
UGS
-rw-r--r--  1 root  wheel  uarch 18092  4 =D0=B8=D1=8E=D0=BB=D1=8F  04:07 C=
OPYING
-rw-r--r--  1 root  wheel  uarch  7616  4 =D0=B8=D1=8E=D0=BB=D1=8F  04:07 L=
ZO.FAQ
-rw-r--r--  1 root  wheel  uarch 13009  4 =D0=B8=D1=8E=D0=BB=D1=8F  04:07 L=
ZO.TXT
-rw-r--r--  1 root  wheel  uarch  6228  4 =D0=B8=D1=8E=D0=BB=D1=8F  04:07 L=
ZOAPI.TXT
-rw-r--r--  1 root  wheel  uarch  1455  4 =D0=B8=D1=8E=D0=BB=D1=8F  04:07 L=
ZOTEST.TXT
-rw-r--r--  1 root  wheel  uarch 12595  4 =D0=B8=D1=8E=D0=BB=D1=8F  04:07 N=
EWS
-rw-r--r--  1 root  wheel  uarch  1035  4 =D0=B8=D1=8E=D0=BB=D1=8F  04:07 R=
EADME
-rw-r--r--  1 root  wheel  uarch   690  4 =D0=B8=D1=8E=D0=BB=D1=8F  04:07 T=
HANKS

/usr/local/share/examples/lzo2/:
total 52
-rw-r--r--  1 root  wheel  uarch  7632  4 =D0=B8=D1=8E=D0=BB=D1=8F  04:07 d=
ict.c
-rw-r--r--  1 root  wheel  uarch 16666  4 =D0=B8=D1=8E=D0=BB=D1=8F  04:07 l=
zopack.c
-rw-r--r--  1 root  wheel  uarch  8893  4 =D0=B8=D1=8E=D0=BB=D1=8F  04:07 o=
verlap.c
-rw-r--r--  1 root  wheel  uarch  1970  4 =D0=B8=D1=8E=D0=BB=D1=8F  04:07 p=
ortab_a.h
-rw-r--r--  1 root  wheel  uarch  4190  4 =D0=B8=D1=8E=D0=BB=D1=8F  04:07 p=
ortab.h
-rw-r--r--  1 root  wheel  uarch  9140  4 =D0=B8=D1=8E=D0=BB=D1=8F  04:07 p=
recomp.c
-rw-r--r--  1 root  wheel  uarch 11572  4 =D0=B8=D1=8E=D0=BB=D1=8F  04:07 p=
recomp2.c
-rw-r--r--  1 root  wheel  uarch  4702  4 =D0=B8=D1=8E=D0=BB=D1=8F  04:07 s=
imple.c


Best regards,
Sergey.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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