Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenLDAP
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Thierry Pubellier
OpenLDAP
Commits
02a86deb
Commit
02a86deb
authored
26 years ago
by
Kurt Zeilenga
Browse files
Options
Downloads
Patches
Plain Diff
Added patches from <tih@athene.nhh.no> to resolve NetBSD build problems.
parent
59a66633
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/Make-template
+16
-8
16 additions, 8 deletions
include/Make-template
include/portable.h
+6
-5
6 additions, 5 deletions
include/portable.h
with
22 additions
and
13 deletions
include/Make-template
+
16
−
8
View file @
02a86deb
...
...
@@ -31,17 +31,25 @@ ldapconfig.h: ldapconfig.h.edit Makefile
echo " * INSTALL file for more information." >> $@; \
echo " */ " >> $@; \
echo "" >> $@; \
$(SED) -e 's;%ETCDIR%;$(RUNTIMEETCDIR);' ldapconfig.h.edit >> $@; \
$(SED) -e 's;%ETCDIR%;$(LDAP_ETCDIR);' \
-e 's;%BINDIR%;$(LDAP_BINDIR);' \
-e 's;%SBINDIR%;$(LDAP_SBINDIR);' \
-e 's;%LIBEXECDIR%;$(LDAP_LIBEXECDIR);' \
-e 's;%RUNDIR%;$(LDAP_RUNDIR);' \
-e 's;%EDITOR%;$(LDAP_EDITOR);' \
-e 's;%FINGER%;$(LDAP_FINGER);' \
-e 's;%SENDMAIL%;$(LDAP_SENDMAIL);' \
ldapconfig.h.edit >> $@; \
$(CHMOD) 444 $@
install: all FORCE
-$(MKDIR) -p $(
INCLUDE
DIR)
$(INSTALL) $(INSTALLFLAGS) -m 644 ldap.h $(
INCLUDE
DIR)
$(INSTALL) $(INSTALLFLAGS) -m 644 lber.h $(
INCLUDE
DIR)
$(INSTALL) $(INSTALLFLAGS) -m 644 proto-lber.h $(
INCLUDE
DIR)
$(INSTALL) $(INSTALLFLAGS) -m 644 proto-ldap.h $(
INCLUDE
DIR)
$(INSTALL) $(INSTALLFLAGS) -m 644 disptmpl.h $(
INCLUDE
DIR)
$(INSTALL) $(INSTALLFLAGS) -m 644 srchpref.h $(
INCLUDE
DIR)
-$(MKDIR) -p $(
LDAP_INC
DIR)
$(INSTALL) $(INSTALLFLAGS) -m 644 ldap.h $(
LDAP_INC
DIR)
$(INSTALL) $(INSTALLFLAGS) -m 644 lber.h $(
LDAP_INC
DIR)
$(INSTALL) $(INSTALLFLAGS) -m 644 proto-lber.h $(
LDAP_INC
DIR)
$(INSTALL) $(INSTALLFLAGS) -m 644 proto-ldap.h $(
LDAP_INC
DIR)
$(INSTALL) $(INSTALLFLAGS) -m 644 disptmpl.h $(
LDAP_INC
DIR)
$(INSTALL) $(INSTALLFLAGS) -m 644 srchpref.h $(
LDAP_INC
DIR)
depend: FORCE
...
...
This diff is collapsed.
Click to expand it.
include/portable.h
+
6
−
5
View file @
02a86deb
...
...
@@ -61,9 +61,9 @@
#endif
/*
* on m
any
systems, we should use waitpid() instead of waitN()
* on m
ost
systems, we should use waitpid() instead of waitN()
*/
#if !defined( USE_WAITPID ) &&
(
defined(
SYSV ) || defined( sunos4 ) || defined( ultrix ) || defined( aix
)
)
#if !defined( USE_WAITPID ) &&
!
defined(
nextstep
)
#define USE_WAITPID
#endif
...
...
@@ -101,7 +101,7 @@
* some systems don't have the BSD re_comp and re_exec routines
*/
#ifndef NEED_BSDREGEX
#if defined( SYSV ) || defined( VMS ) || defined( netbsd ) || defined(
freebsd ) || defined(
linux )
#if defined( SYSV ) || defined( VMS ) || defined( netbsd ) || defined( linux )
#define NEED_BSDREGEX
#endif
#endif
...
...
@@ -120,7 +120,8 @@
* Are sys_errlist and sys_nerr declared in stdio.h?
*/
#ifndef SYSERRLIST_IN_STDIO
#if defined( freebsd )
#if defined( freebsd ) || defined( netbsd ) || \
defined( __GLIBC__ ) && ( __GLIBC__ > 1 )
#define SYSERRLIST_IN_STDIO
#endif
#endif
...
...
@@ -170,7 +171,7 @@
* call signal or sigset (signal does not block the signal while
* in the handler on sys v and sigset does not exist on bsd)
*/
#ifdef
SYSV
#if
def
ined(SYSV) && !defined(linux)
#define SIGNAL sigset
#else
#define SIGNAL signal
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment