SOURCES: libtirpc-link.patch (NEW) - specify libs in proper place, ...

qboosh qboosh at pld-linux.org
Thu May 17 20:36:33 CEST 2007


Author: qboosh                       Date: Thu May 17 18:36:32 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- specify libs in proper place, drop unneeded -lnsl

---- Files affected:
SOURCES:
   libtirpc-link.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/libtirpc-link.patch
diff -u /dev/null SOURCES/libtirpc-link.patch:1.1
--- /dev/null	Thu May 17 20:36:32 2007
+++ SOURCES/libtirpc-link.patch	Thu May 17 20:36:27 2007
@@ -0,0 +1,21 @@
+--- libtirpc-0.1.7/src/Makefile.am.orig	2007-05-17 20:08:05.298402000 +0200
++++ libtirpc-0.1.7/src/Makefile.am	2007-05-17 20:28:44.354794354 +0200
+@@ -11,7 +11,8 @@
+ 
+ lib_LTLIBRARIES = libtirpc.la
+ 
+-libtirpc_la_LDFLAGS = -lnsl -lpthread -version-info 1:7:0
++libtirpc_la_LDFLAGS = -version-info 1:7:0
++libtirpc_la_LIBADD = -lpthread
+ 
+ libtirpc_la_SOURCES = auth_none.c auth_unix.c authunix_prot.c bindresvport.c clnt_bcast.c \
+         clnt_dg.c clnt_generic.c clnt_perror.c clnt_raw.c clnt_simple.c \
+@@ -30,7 +31,7 @@
+ if GSS
+     libtirpc_la_SOURCES += auth_gss.c authgss_prot.c svc_auth_gss.c \
+ 		svc_auth_none.c
+-    libtirpc_la_LDFLAGS += $(GSSAPI_LIBS)
++    libtirpc_la_LIBADD += $(GSSAPI_LIBS)
+     libtirpc_la_CFLAGS = -DHAVE_RPCSEC_GSS $(GSSAPI_CFLAGS)
+ endif
+ 
================================================================


More information about the pld-cvs-commit mailing list