mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-19 08:13:21 +00:00
115c991449
a lot of imporvements and bugfixes since 3.0.2a. In addition following problems solved: o linking agaist libiconv is mandatary now o more ways of detecting Kerberos5 installation and LIB_DEPENDS on Heimdal port if none is found - should address problems with bentoo building as well o fixed problem when port wasn't compilable when LDAP wasn't chosen and ADS was. Submitted by: Timur Bakeyev <timur@gnu.org> (maintainer) PR: 65237
56 lines
2.2 KiB
Plaintext
56 lines
2.2 KiB
Plaintext
--- Makefile.in.orig Sun Apr 4 09:37:15 2004
|
|
+++ Makefile.in Mon Apr 5 20:43:42 2004
|
|
@@ -101,6 +101,7 @@
|
|
LIBSMBCLIENT_MAJOR=0
|
|
LIBSMBCLIENT_MINOR=1
|
|
|
|
+NSS_VERSION=1
|
|
|
|
FLAGS1 = $(CFLAGS) @FLAGS1@ -Iinclude -I$(srcdir)/include -I$(srcdir)/ubiqx -I$(srcdir)/smbwrapper -I. $(CPPFLAGS) -I$(srcdir)
|
|
FLAGS2 =
|
|
@@ -957,8 +958,8 @@
|
|
@SONAMEFLAG@`basename $@`
|
|
|
|
bin/libsmbclient.@SHLIBEXT@: $(LIBSMBCLIENT_PICOBJS)
|
|
- @echo Linking libsmbclient shared library $@
|
|
- @$(SHLD) $(LDSHFLAGS) -o $@ $(LIBSMBCLIENT_PICOBJS) $(LDFLAGS) $(DYNEXP) $(LIBS) \
|
|
+ @echo Linking libsmbclient shared library $@.$(LIBSMBCLIENT_MAJOR)
|
|
+ @$(SHLD) $(LDSHFLAGS) -o $@.$(LIBSMBCLIENT_MAJOR) $(LIBSMBCLIENT_PICOBJS) $(LDFLAGS) $(DYNEXP) $(LIBS) \
|
|
$(KRB5LIBS) $(LDAP_LIBS) \
|
|
@SONAMEFLAG@`basename $@`.$(LIBSMBCLIENT_MAJOR)
|
|
|
|
@@ -1041,13 +1042,13 @@
|
|
@WINBIND_NSS@: $(WINBIND_NSS_PICOBJS)
|
|
@echo "Linking $@"
|
|
@$(SHLD) $(WINBIND_NSS_LDSHFLAGS) -o $@ $(WINBIND_NSS_PICOBJS) \
|
|
- @WINBIND_NSS_EXTRA_LIBS@ @SONAMEFLAG@`basename $@`
|
|
+ @WINBIND_NSS_EXTRA_LIBS@ @SONAMEFLAG@`basename $@`.$(NSS_VERSION)
|
|
|
|
@WINBIND_WINS_NSS@: $(WINBIND_WINS_NSS_PICOBJS)
|
|
@echo "Linking $@"
|
|
@$(SHLD) $(LDSHFLAGS) -o $@ $(WINBIND_WINS_NSS_PICOBJS) \
|
|
$(LDAP_LIBS) $(KRB5LIBS) -lc \
|
|
- @SONAMEFLAG@`basename $@`
|
|
+ @SONAMEFLAG@`basename $@`.$(NSS_VERSION)
|
|
|
|
nsswitch/pam_winbind.@SHLIBEXT@: $(PAM_WINBIND_PICOBJ) bin/.dummy
|
|
@echo "Linking $@"
|
|
@@ -1218,7 +1219,7 @@
|
|
|
|
bin/t_snprintf@EXEEXT@: lib/snprintf.c
|
|
$(CC) $(FLAGS) -o $@ -DTEST_SNPRINTF lib/snprintf.c -lm
|
|
-install: installbin installman installscripts installdat installswat installmodules @INSTALLCLIENT@
|
|
+install: installbin installscripts installdat installswat installmodules @INSTALLCLIENT@
|
|
|
|
install-everything: install installmodules
|
|
|
|
@@ -1270,7 +1271,7 @@
|
|
|
|
installclientlib: installdirs libsmbclient
|
|
@$(SHELL) $(srcdir)/script/installdirs.sh $(DESTDIR)${prefix}/lib
|
|
- -$(INSTALLCLIENTCMD_SH) bin/libsmbclient.@SHLIBEXT@ $(DESTDIR)${prefix}/lib
|
|
+ -$(INSTALLCLIENTCMD_SH) bin/libsmbclient.@SHLIBEXT@.$(LIBSMBCLIENT_MAJOR) $(DESTDIR)${prefix}/lib
|
|
-$(INSTALLCLIENTCMD_A) bin/libsmbclient.a $(DESTDIR)${prefix}/lib
|
|
@$(SHELL) $(srcdir)/script/installdirs.sh $(DESTDIR)${prefix}/include
|
|
-$(INSTALLCMD) $(srcdir)/include/libsmbclient.h $(DESTDIR)${prefix}/include
|