PLIST=pkg-plist

Anatoly Borodin anatoly.borodin at gmail.com
Wed Mar 19 14:36:58 UTC 2008


Hi!

On Wed, Mar 19, 2008 at 1:13 PM, Alexander Leidinger
<Alexander at leidinger.net> wrote:
>  Strange. I don't see anything here which is causing this. I can not
>  reproduce it. How do you install the port?
>    cd /usr/ports/graphics/linux-tiff
>    make install
>    make clean
>  is what I would expect.

I made experiments on emulators/linux_base-fc6.

>  In bsd.port.mk there's
>  ---snip---
>  @if [ -f ${PLIST} ]; then \
>                  ${SED} ${PLIST_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/}
>  ${PLIST} >> ${TMPPLIST}; \
>          fi
>  ---snip---
>
>  Please add the following line between the @if and ${SED} line:
>  ---snip---
>                  echo PLIST TEST ${.CURDIR}; pwd; \
>  ---snip---
>
>  Then reinstall a port which exhibits the behavior and search for the
>  line with "PLIST TEST" (and the line which follows).

diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 431703e..f450a59 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -5461,6 +5461,7 @@ generate-plist:
        done
 .endfor
        @if [ -f ${PLIST} ]; then \
+               echo PLIST TEST ${.CURDIR}; pwd; \
                ${SED} ${PLIST_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/}
${PLIST} >> ${TMPPLIST}; \
        fi
 .for reinplace in ${PLIST_REINPLACE}

# make clean install
<<<skipped>>>
===>   linux_base-fc6-6_5 depends on file: /usr/local/bin/rpm2cpio - found
===>  Patching for linux_base-fc6-6_5
===>  Configuring for linux_base-fc6-6_5
===>  Building for linux_base-fc6-6_5
===>  Installing for linux_base-fc6-6_5
===>   Generating temporary packing list
220624 blocks

Running linux ldconfig...

This software is based in part on the work of the FreeType Team.
See <URL:http://www.freetype.org/>.

Installation of the Linux base system is finished. The Linux kernel
mode, which must be enabled for Linux binaries to run, is now
enabled. Linux mode can be enabled permanently with the linux_enable
variable of rc.conf(5).

To make use of NIS you have to adjust yp.conf and nsswitch.conf in
/compat/linux/etc/ accordingly. For example:

Set your yp-server and yp-domainname in yp.conf:
        domainname      my.yp.domainname
        ypserver        my.yp.server

Let your lists for hosts, passwd and group be resolved via nsswitch.conf:
        passwd: files nis
        shadow: files nis
        group:  files nis
        hosts:  files dns nis

WARNING: doing work which needs to chroot into the linux base may not work.
In such cases (e.g. cross-development) you are better suited with a linux_dist
port.

===>   Registering installation for linux_base-fc6-6_5

-- 
Mit freundlichen Grüßen,
Anatoly Borodin
business: anatoly.borodin at gmail.com
privat: fractalizator at gmail.com


More information about the freebsd-ports mailing list