WRKDIRPREFIX, textproc/docbook-sk and www/firefox

Ed Schouten ed at il.fontys.nl
Sun Mar 20 23:59:09 PST 2005

Hello guys,

Yesterday I reinstalled my sister's PC with FreeBSD (a proud GNOME user ;).
Because this is the fourth FreeBSD machine in our network at home, I mounted
/usr/src and /usr/ports from another machine in my network because I thought
it would be a waste of time (and bandwidth) to cvsup them all.

Because the NFS mounts are read-only (mapall=nobody:nobody), I've set the
following vars in /etc/make.conf:

| WRKDIRPREFIX="/home/tmp/ports/build"
| DISTDIR="/home/tmp/ports/distfiles"

Building most packages works like a charm, except textproc/docbook-sk.
www/firefox builds flawlessly, but doesn't work out of the box:

| (kim at foxtrot) ~ $ firefox
| /usr/X11R6/bin/firefox: Cannot find mozilla runtime directory. Exiting.

When I look in /usr/X11R6/bin/firefox, I see the following lines:

| moz_libdir="/home/tmp/ports/build/usr/ports/www/firefox/work/fake/lib/firefox"
| MRE_HOME="/home/tmp/ports/build/usr/ports/www/firefox/work/fake/lib/mre/mre-1.0.1"

If I change those into /usr/X11R6/lib/{firefox,mre}, Mozilla Firefox works,
but I can't link anything against it (yelp, mplayer plugin, linux plugin
wrapper, etc).

docbook-sk fails while installing:

| ===>  Extracting for docbook-sk-4.1.2_3
| => Checksum OK for docbkx412.zip.
| ===>   docbook-sk-4.1.2_3 depends on executable: unzip - found
| ===>  Patching for docbook-sk-4.1.2_3
| ===>  Configuring for docbook-sk-4.1.2_3
| ===>  Installing for docbook-sk-4.1.2_3
| ===>   docbook-sk-4.1.2_3 depends on file: /usr/local/bin/xmlcatmgr - found
| ===>   Generating temporary packing list
| for file in `/usr/bin/find "/home/tmp/ports/build"/usr/ports/textproc/docbook-sk/work -type f | /usr/bin/sed -e 's|^"/home/tmp/ports/build"/usr/ports/textproc/docbook-sk/work/||' | /usr/bin/grep -v '^\.' | /usr/bin/sort`; do  install  -o root -g wheel -m 444 "/home/tmp/ports/build"/usr/ports/textproc/docbook-sk/work/$file /usr/local/share/xml/docbook/4.1.2/$file;  done
| install: /home/tmp/ports/build/usr/ports/textproc/docbook-sk/work//home/tmp/ports/build/usr/ports/textproc/docbook-sk/work/.PLIST.mktmp: No such file or directory
| *** Error code 71
| Stop in /usr/ports/textproc/docbook-sk.

It seems like something goes wrong while regexing pathnames in both ports.
Since I'm not a real Shellscript/Makefile guru, I guess I can't provide you
a patch.

 Ed Schouten <ed at il.fontys.nl>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20050321/7f15b6fd/attachment.bin

More information about the freebsd-ports mailing list