Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37560853
en ru br
ALT Linux repositórios
S:2.5-alt4.qa1
5.0: 2.5-alt4
4.1: 2.5-alt4
4.0: 2.5-alt4

Group :: Rede/Outros
RPM: sendip

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: sendip-2.5-alt-makefile.patch
Download


--- sendip-2.5/Makefile.orig	2006-03-20 13:08:46 +0500
+++ sendip-2.5/Makefile	2006-06-05 18:38:10 +0600
@@ -9,13 +9,14 @@
 #INSTALL=/usr/ucb/install
 
 CFLAGS=	-fPIC -fsigned-char -pipe -Wall -Wpointer-arith -Wwrite-strings \
-			-Wstrict-prototypes -Wnested-externs -Winline -Werror -g -Wcast-align \
+			-Wstrict-prototypes -Wnested-externs -Winline -g -Wcast-align \
 			-DSENDIP_LIBS=\"$(LIBDIR)\"
 #-Wcast-align causes problems on solaris, but not serious ones
 LDFLAGS=	-g -rdynamic -lm
 #LDFLAGS_SOLARIS= -g -lsocket -lnsl -lm
 LDFLAGS_SOLARIS= -g -lsocket -lnsl -lm -ldl
-LDFLAGS_LINUX= -g  -rdynamic -ldl -lm
+LDFLAGS_LINUX= -g -rdynamic
+LDADD= -ldl -lm
 LIBCFLAGS= -shared
 CC=	gcc
 
@@ -32,7 +33,7 @@
 #there has to be a nice way to do this
 sendip:	sendip.o	gnugetopt.o gnugetopt1.o compact.o
 	sh -c "if [ `uname` = Linux ] ; then \
-$(CC) -o $@ $(LDFLAGS_LINUX) $(CFLAGS) $+ ; \
+$(CC) -o $@ $(LDFLAGS_LINUX) $(CFLAGS) $+ $(LDADD) ; \
 elif [ `uname` = SunOS ] ; then \
 $(CC) -o $@ $(LDFLAGS_SOLARIS) $(CFLAGS) $+ ;\
 else \
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009