post-install:
pkg_add -m ${PREFIX}/lib
to Makefiles and
@exec ldconfig -m %D
to packing lists of ports that install shared libraries.
This should get rid of a huge chunk of confusion for novice users!
All hail Paul Kranenburg! :)
undefined symbol messages, they seem to be missing the prefix "iv"
in the library (src/lib/IV/FREEBSD/libIV.a).
It probably has something to do with
#define _lib_iv(name) iv##name
in src/include/InterViews/iv.h, but I can't figure out for my life
how this entangled spaghetti of include files manage to compile
without swallowing their tails....
Submitted by: Lucas James <Lucas.James@ldjpc.apana.org.au>
% patch-ab is not necessary anymore because the bug is now fixed in
. the original source.
% post-configure (which was doing "make includes") is not necessary
. because xmkmf is now called with "-a". (Yeah, should have redefined
. XMKMF in Makefile in the first place....)
Don't make the inclusion of sys/param.h a conditional of OW_I18N_L4.
Always include it, otherwise the BSD symbol is not defined and a
gethostname with three instead of two arguments is included.
(1) Took out INSTALL_MANPAGES (not necessary anymore, porter should
set NO_INSTALL_MANPAGES for not calling "make install.man")
(2) Replaced most of DEPENDS with EXEC_DEPENDS and LIB_DEPENDS. These
are the entries I used:
EXEC_DEPENDS:
unzip:${PORTSDIR}/archivers/unzip
gmake:${PORTSDIR}/devel/gmake
wishx:${PORTSDIR}/lang/tclX
xli:${PORTSDIR}/graphics/xli
gs:${PORTSDIR}/print/ghostscript
gunshar:${PORTSDIR}/archivers/gshar+gunshar
hfs:${PORTSDIR}/utils/hfs
rman:${PORTSDIR}/utils/rman
LIB_DEPENDS:
tiff\\.3\\.:${PORTSDIR}/graphics/tiff
jpeg\\.5\\.:${PORTSDIR}/graphics/jpeg
Xpm\\.4\\.:${PORTSDIR}/graphics/xpm
tcl\\.7\\.:${PORTSDIR}/lang/tcl
tk\\.3\\.:${PORTSDIR}/x11/tk
xview\\.1\\.:${PORTSDIR}/x11/xview-lib
Xaw3d\\.:${PORTSDIR}/x11/Xaw3d
mpeg\\.1\\.:${PORTSDIR}/graphics/mpeg-lib
xview\\.3\\.:${PORTSDIR}/x11/xview-lib
BLT\\.1\\.:${PORTSDIR}/x11/blt
There are still some dependencies I can't figure out what exactly
is needed. If your port still has DEPENDS in it, please check it out!