diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2006-11-05 00:19:13 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2006-11-05 00:19:13 +0000 |
commit | 6b7299427adc606949c3f647334dc74c97d767e0 (patch) | |
tree | 04bfe60a4f891ed14042bfa0bfe927d595244a74 /net/ldap2dns/files | |
parent | - Switch to scons support [1] (diff) |
- Update to 0.4.1
PR: ports/105038
Submitted by: Gerrit Beine<gerrit.beine@gmx.de> (maintainer)
Sponsored by: FreeBSD Bug-a-thon #2
Notes
Notes:
svn path=/head/; revision=176387
Diffstat (limited to 'net/ldap2dns/files')
-rw-r--r-- | net/ldap2dns/files/patch-Makefile | 22 | ||||
-rw-r--r-- | net/ldap2dns/files/patch-ldap2dns.c | 12 |
2 files changed, 23 insertions, 11 deletions
diff --git a/net/ldap2dns/files/patch-Makefile b/net/ldap2dns/files/patch-Makefile index 3cceb7e203d8..35d791385ffa 100644 --- a/net/ldap2dns/files/patch-Makefile +++ b/net/ldap2dns/files/patch-Makefile @@ -1,7 +1,11 @@ ---- Makefile.orig Tue Aug 13 15:58:27 2002 -+++ Makefile Mon Sep 29 01:33:57 2003 -@@ -6,9 +6,9 @@ - CFLAGS=$(INC) -DVERSION='"$(VERSION)"' +--- Makefile.orig Thu Oct 19 20:54:23 2006 ++++ Makefile Sun Oct 29 16:56:03 2006 +@@ -3,12 +3,12 @@ + RELEASE=0 + CC=gcc + DEBUG_CFLAGS=-g -ggdb +-CFLAGS=-O2 ++CFLAGS=-O2 -I$(PREFIX)/include LIBS=-lldap -llber LD=gcc -LDFLAGS= @@ -11,5 +15,13 @@ +INSTALL_PREFIX=$(PREFIX) +PREFIXDIR=$(INSTALL_PREFIX) LDAPCONFDIR=$(INSTALL_PREFIX)/etc/openldap - TARFILE=/usr/src/redhat/SOURCES/ldap2dns-$(VERSION).tar.gz SPECFILE=ldap2dns.spec + DISTRIBUTION=redhat +@@ -40,6 +40,7 @@ + $(LD) $(LDFLAGS) $(LIBS) -o $@ $+ + + ldap2dns.o: ldap2dns.c ++ echo $(CFLAGS) + $(CC) $(CFLAGS) -DVERSION='"$(VERSION)"' -c $< -o $@ + + ldap2dns.o-dbg: ldap2dns.c diff --git a/net/ldap2dns/files/patch-ldap2dns.c b/net/ldap2dns/files/patch-ldap2dns.c index 3bff6618adb6..75108c943f8d 100644 --- a/net/ldap2dns/files/patch-ldap2dns.c +++ b/net/ldap2dns/files/patch-ldap2dns.c @@ -1,10 +1,10 @@ ---- ldap2dns.c.orig Fri Dec 16 20:49:47 2005 -+++ ldap2dns.c Thu Jan 12 18:36:43 2006 -@@ -15,7 +15,7 @@ - #include <unistd.h> +--- ldap2dns.c.orig Thu Oct 19 20:54:23 2006 ++++ ldap2dns.c Sun Oct 29 16:41:24 2006 +@@ -18,7 +18,7 @@ + #include <sys/types.h> - #define UPDATE_INTERVALL 59 --#define LDAP_CONF "/etc/ldap/ldap.conf" + #define UPDATE_INTERVAL 59 +-#define LDAP_CONF "/etc/ldap.conf" +#define LDAP_CONF "%%PREFIX%%/etc/openldap/ldap.conf" #define OUTPUT_DATA 1 #define OUTPUT_DB 2 |