| Server IP : 82.208.35.60 / Your IP : 216.73.216.89 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/audio/xwave/files/ |
Upload File : |
If /usr/X11R6/lib/libfwf.a exists on the system, (e.g. as a consequence
of building the port /usr/ports/x11-toolkits/FWF before), xwave
links this file instead of its own (older) libfwf.a.
In src/Imakefile the line
XLIBS= -L../lib -lfwf -lXaw -lXpm -lXmu -lXt -lX11
cannot guarantee, that libfwf.a is taken from ../lib, because imake
includes -L/usr/X11R6/lib _BEFORE_ -L../lib.
I am not experienced in compiler options, but replacing the above line
by
XLIBS= ../lib/libfwf.a -lXaw -lXpm -lXmu -lXt -lX11
does the job.
--- src/Imakefile.orig Mon Nov 9 00:22:55 1998
+++ src/Imakefile Mon Jan 1 12:49:37 2001
@@ -13,8 +13,14 @@
PROGRAMS= xwave
AUDIOLIBS=-L../ccitt -lccitt -L../adpcm2pcm -ladpcm -L../ieee -lieee
-XLIBS= -L../lib -lfwf -lXaw -lXpm -lXmu -lXt -lX11
-LIBS= $(OSLIBS) $(XLIBS) $(AUDIOLIBS) -lm -lc
+
+# XLIBS= -L../lib -lfwf -lXaw -lXpm -lXmu -lXt -lX11
+# "-L../lib -lfwf" substituted by "../lib/libfwf.a" because Linker
+# used /usr/X11R6/lib/libfwf.a on systems, where this file exists.
+# 2001-01-01 Martin Kraft
+
+XLIBS= ../lib/libfwf.a -lXaw -lXpm -lXmu -lXt -lX11
+LIBS= $(OSLIBS) $(XLIBS) $(AUDIOLIBS) -lm
NormalProgramTarget(xwave,$(OBJS),,$(LIBS),)