summaryrefslogtreecommitdiff
path: root/net/ldap2dns/files/patch-Makefile
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2006-11-05 00:19:13 +0000
committerMartin Wilke <miwi@FreeBSD.org>2006-11-05 00:19:13 +0000
commit6b7299427adc606949c3f647334dc74c97d767e0 (patch)
tree04bfe60a4f891ed14042bfa0bfe927d595244a74 /net/ldap2dns/files/patch-Makefile
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/patch-Makefile')
-rw-r--r--net/ldap2dns/files/patch-Makefile22
1 files changed, 17 insertions, 5 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