Date: Sat, 10 Jan 2004 18:22:21 +0100 (CET) From: marcov@stack.nl (Marco van de Voort) To: freebsd-ports@freebsd.org Subject: Re: %%PORTVERSION%% Message-ID: <20040110172221.0112C92@toad.stack.nl>
next in thread | raw e-mail | index | archive | help
> >=20 > > PORTVERSION=3D 1.9.2 > >=20 > > and I made sure that the makefiles do indeed end up in > > /fpc/porttest/lib/fpc/1.9.2/msg/errord.msg=20 > >=20 > > The whole (68 line) Makefile is at http://www.stack.nl/~marcov/fpcdevel= port.tar.gz > >> end of "%%PORTVERSION%%" from Marco van de Voort << >=20 > Add >=20 > PLIST_SUB+=3D PORTVERSION=3D"${PORTVERSION}" Thanks. The port now does make install/deinstall ok. pkg-plist was ok, but = a part was not negatively sorted. Nothing is left behind except $PREFIX/src and other= standard dirs ($PREFIX/lib man bin and share, there are no FPC generated subdirs in there= ), should I try to remove these too, or will this result in errors. However make package after a make install (as advised in the test sequence = in the porters handbook) now goes wrong: make install PREFIX=3D/fpc/porttest [goes fine, ends with registering the port.] make package [_restarts_ building adding the prefix doesn't help] =3D=3D=3D> Installing for fpc-devel-1.9.2 =3D=3D=3D> Generating temporary packing list =3D=3D=3D> Checking if lang/fpc-devel already installed =3D=3D=3D> fpc-devel-1.9.2 is already installed You may wish to =0Dake deinstall'' and install this port again by =0Dake reinstall'' to upgrade it properly. If you really wish to overwrite the old port of lang/fpc-devel without deleting it first, set the variable "FORCE_PKG_REGISTER" in your environment or the "make install" command line. *** Error code 1 Stop in /usr/fpc/fpc-devel. make deinstall PREFIX=3D/fpc/porttest [generally goes ok, with already mentioned exceptions. making a mistake wit= h the prefix (like appending a backslash), will deregister the port though] -- I suspect something goes wrong with the semaphore flags that signal build d= one. Since restarting building for the package seems not necessary: 56 -rw-r--r-- 1 root wheel 233611 Jan 10 17:40 .PLIST.mktmp 0 -rw-r--r-- 1 root wheel 0 Jan 10 17:40 .build_done.fpc-devel= -1.9.2._fpc_porttest 0 -rw-r--r-- 1 root wheel 0 Jan 10 17:39 .configure_done.fpc-d= evel-1.9.2._fpc_porttest 0 -rw-r--r-- 1 root wheel 0 Jan 10 17:39 .extract_done.fpc-dev= el-1.9.2._fpc_porttest 0 -rw-r--r-- 1 root wheel 0 Jan 10 17:39 .patch_done.fpc-devel= -1.9.2._fpc_porttest P.s. sorry for mailing it personally. Adam.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040110172221.0112C92>