forked from Lainports/opnsense-ports
32 lines
971 B
Text
32 lines
971 B
Text
--- nsswitch/wscript_build.orig 2015-03-25 00:53:56.295051994 +0000
|
|
+++ nsswitch/wscript_build 2015-03-25 00:57:12.566911686 +0000
|
|
@@ -14,7 +14,7 @@
|
|
bld.SAMBA_BINARY('nsstest',
|
|
source='nsstest.c',
|
|
deps='replace dl',
|
|
- install=False
|
|
+ install=False
|
|
)
|
|
|
|
# The nss_wrapper code relies strictly on the linux implementation and
|
|
@@ -39,7 +39,6 @@
|
|
pc_files=[],
|
|
vnum='2')
|
|
|
|
- # for nss_wins is linux only
|
|
bld.SAMBA3_LIBRARY('nss_wins',
|
|
keep_underscore=True,
|
|
source='wins.c',
|
|
@@ -57,6 +56,12 @@
|
|
realname='nss_winbind.so.1',
|
|
vnum='1')
|
|
|
|
+ bld.SAMBA3_LIBRARY('nss_wins',
|
|
+ source='wins.c wins_freebsd.c',
|
|
+ deps='''param libsmb LIBTSOCKET''',
|
|
+ realname='nss_wins.so.1',
|
|
+ vnum='1')
|
|
+
|
|
elif (host_os.rfind('netbsd') > -1):
|
|
# NetBSD winbind client is implemented as a wrapper
|
|
# around the Linux version. It needs getpwent_r() to
|