pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[LINUX][PATCH] mMosaic needs additional lib

As per GNU ld suggestion upon failure, libdl is needed on Linux in
order to build www/mMosaic-3.7.2nb11. So the '-ldl' option needs to be
specified on cc's command line. The attached patch takes care of that.

According to mMosaic's own Makefile, the same is needed for: HP-UX,
BSD/386, FreeBSD, Solaris 2.x, only to mention OSes supported by pkgsrc.
But I don't know how up-to-date that info is, and I don't have those
systems to test on, so I only introduced the change for Linux.

=====BEGIN PATCH=====
--- Makefile.orig       2013-07-08 13:59:28.000000000 +0200
+++ Makefile    2013-07-08 15:02:43.000000000 +0200
@@ -34,6 +34,7 @@
 .elif ${OPSYS} == "Linux"
 MAKEFLAGS+=    sysconfigflags='-DLINUX -Dlinux -DMOTIF1_2'
+MAKEFLAGS+=    syslibs='-ldl'
 .elif ${OPSYS:MIRIX*} != ""
 MAKEFLAGS+=    sysconfigflags='-DSVR4 -DIRIX -DMOTIF1_2'
=====END PATCH=====

Home | Main Index | Thread Index | Old Index