[M3devel] Follow up - FreeBSD port

John Marino adacore at marino.st
Sat Jun 6 23:32:52 CEST 2015


Based on recent discussions, I altered the FreeBSD port as follows:

1) I removed the rpath=$ORIGIN flag
2) I limited the de-execution to the executable .i3 files
3) I moved the executable pkg programs to bin, then added softlinks to
where the were originally installed.

The last one enables those programs to work again, even from the
pkg/*/AMD64_FREEBSD/ locations.  I could not figure out a way to
dynamically change the rpath so I just decided to use $ORIGIN/../lib for
everything an make it work.  It has a side benefit of eliminating the
large, duplicate cm3 at pkg/cm3/AMD64_FREEBSD/cm3 (replaced by symlink).

I think the port is in pretty good shape right now.  Most of the
programs work, but cm3ide core dumps a lot.  It also seems to be
querying a database that doesn't exist (pgsql installed but port doesn't
do anything with it).  Anything that tries to use TCP seems to fail.

John


http://www.freshports.org/commit.php?category=lang&port=modula3&files=yes&message_id=201506062130.t56LUF55083786@svn.freebsd.org



More information about the M3devel mailing list