Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > by-pkgid > 23daa6e511f3697dde8eb8a4c0afb418 > files > 19

iptraf-3.0.0-6mdv2008.1.src.rpm

diff -ru iptraf-3.0.0~/src/Makefile iptraf-3.0.0/src/Makefile
--- iptraf-3.0.0~/src/Makefile	2006-11-14 21:14:31.000000000 +0100
+++ iptraf-3.0.0/src/Makefile	2006-11-14 21:15:12.000000000 +0100
@@ -18,7 +18,7 @@
 BINDIR		= ../../iptraf-$(VERNUMBER).bin.$(ARCH)
 
 CC		= gcc
-LIBS		= -L../support -ltextbox -lpanel -lncurses   # in this order!
+LIBS		= -L../support -ltextbox -lpanelw -lncursesw   # in this order!
 
 # comment this one out to omit debug code when done.
 
@@ -163,7 +163,7 @@
 # and the compiled programs for release as a ready-to-run distribution.
 
 dist-bin: all
-	$(CC) $(LDOPTS) $(PROF) -o iptraf $(OBJS) -L../support -ltextbox /usr/lib/libpanel.a /usr/lib/libncurses.a
+	$(CC) $(LDOPTS) $(PROF) -o iptraf $(OBJS) -L../support -ltextbox /usr/lib/libpanelw.a /usr/lib/libncursesw.a
 	rm -rf $(BINDIR)
 	mkdir $(BINDIR)
 	/bin/cp -p ../CHANGES ../LICENSE ../FAQ ../INSTALL ../README* \
@@ -179,7 +179,7 @@
 # Just in case anyone needs to link a static binary
 #
 static: $(OBJS)
-	$(CC) -static $(PROC) -o iptraf $(OBJS) ../support/libtextbox.a -lpanel -lncurses
+	$(CC) -static $(PROC) -o iptraf $(OBJS) ../support/libtextbox.a -lpanelw -lncursesw
 	$(CC) -static -o rvnamed rvnamed.o getpath.o
 	$(CC) -static -o rawtime rawtime.c
 
Only in iptraf-3.0.0~/src: Makefile.orig