- ensure man pages have correct paths in them.
- enable SEPARATE_BUILD
This commit is contained in:
parent
05de45d6af
commit
26202530f4
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.19 2001/04/02 02:09:15 brad Exp $
|
||||
# $OpenBSD: Makefile,v 1.20 2001/04/02 15:38:52 brad Exp $
|
||||
# KAME Id: Makefile,v 1.5 1999/09/13 16:27:41 itojun Exp
|
||||
# Originally by: peter.galbavy@knowledge.com
|
||||
|
||||
@ -6,7 +6,7 @@ COMMENT= "multi-threaded routing daemon"
|
||||
|
||||
DISTNAME= zebra-0.91a
|
||||
CATEGORIES= net
|
||||
NEED_VERSION= 1.378
|
||||
NEED_VERSION= 1.383
|
||||
MASTER_SITES= ftp://ftp.zebra.org/pub/zebra/
|
||||
|
||||
HOMEPAGE= http://www.zebra.org/
|
||||
@ -22,6 +22,7 @@ PERMIT_DISTFILES_FTP= Yes
|
||||
#CFLAGS+= -g
|
||||
|
||||
SYSCONFDIR= /etc/zebra
|
||||
SEPARATE_BUILD= concurrent
|
||||
CONFIGURE_STYLE= gnu
|
||||
|
||||
#
|
||||
@ -40,6 +41,15 @@ CONFIGURE_ARGS+= --enable-snmp
|
||||
CONFIGURE_ARGS+= --disable-snmp
|
||||
.endif
|
||||
|
||||
post-extract:
|
||||
.for f in bgpd.8 ospf6d.8 ospfd.8 ripd.8 ripngd.8 zebra.8
|
||||
@cd ${WRKSRC}/doc; sed \
|
||||
-e s#/usr/local/etc#@sysconfdir@#g \
|
||||
-e s#/usr/local/sbin#@prefix@/sbin#g \
|
||||
${f} > ${f}.in && \
|
||||
rm -f ${f}
|
||||
.endfor
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/zebra
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/zebra
|
||||
|
11
net/zebra/patches/patch-configure
Normal file
11
net/zebra/patches/patch-configure
Normal file
@ -0,0 +1,11 @@
|
||||
--- configure.orig Sun Apr 1 22:30:46 2001
|
||||
+++ configure Sun Apr 1 22:31:59 2001
|
||||
@@ -4242,7 +4242,7 @@
|
||||
|
||||
cat >> $CONFIG_STATUS <<EOF
|
||||
|
||||
-CONFIG_FILES=\${CONFIG_FILES-"Makefile lib/Makefile zebra/Makefile ripd/Makefile ripngd/Makefile bgpd/Makefile ospfd/Makefile ospf6d/Makefile vtysh/Makefile doc/Makefile"}
|
||||
+CONFIG_FILES=\${CONFIG_FILES-"Makefile lib/Makefile zebra/Makefile ripd/Makefile ripngd/Makefile bgpd/Makefile ospfd/Makefile ospf6d/Makefile vtysh/Makefile doc/Makefile doc/bgpd.8 doc/ospf6d.8 doc/ospfd.8 doc/ripd.8 doc/ripngd.8 doc/zebra.8"}
|
||||
EOF
|
||||
cat >> $CONFIG_STATUS <<\EOF
|
||||
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
|
@ -1,6 +1,6 @@
|
||||
--- doc/Makefile.in.orig Wed Jan 10 20:02:55 2001
|
||||
+++ doc/Makefile.in Thu Jan 11 15:01:28 2001
|
||||
@@ -75,7 +75,7 @@
|
||||
--- doc/Makefile.in.orig Sat Jan 27 20:55:00 2001
|
||||
+++ doc/Makefile.in Mon Apr 2 10:56:59 2001
|
||||
@@ -72,7 +72,7 @@
|
||||
LIBPAM = @LIBPAM@
|
||||
LIB_IPV6 = @LIB_IPV6@
|
||||
LIB_REGEX = @LIB_REGEX@
|
||||
@ -9,3 +9,63 @@
|
||||
MULTIPATH_NUM = @MULTIPATH_NUM@
|
||||
OSPF6D = @OSPF6D@
|
||||
OSPFD = @OSPFD@
|
||||
@@ -133,46 +133,41 @@
|
||||
DVIPS = dvips
|
||||
|
||||
.texi.info:
|
||||
- @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
|
||||
- cd $(srcdir) \
|
||||
- && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
|
||||
+ @rm -f $@ $@-[0-9] $@-[0-9][0-9]
|
||||
+ $(MAKEINFO) -I $(srcdir) `echo $< | sed 's,.*/,,'`
|
||||
|
||||
.texi.dvi:
|
||||
TEXINPUTS=.:$$TEXINPUTS \
|
||||
MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
|
||||
|
||||
.texi:
|
||||
- @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
|
||||
- cd $(srcdir) \
|
||||
- && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
|
||||
+ @rm -f $@ $@-[0-9] $@-[0-9][0-9]
|
||||
+ $(MAKEINFO) -I $(srcdir) `echo $< | sed 's,.*/,,'`
|
||||
|
||||
.texinfo.info:
|
||||
- @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
|
||||
- cd $(srcdir) \
|
||||
- && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
|
||||
+ @rm -f $@ $@-[0-9] $@-[0-9][0-9]
|
||||
+ $(MAKEINFO) -I $(srcdir) `echo $< | sed 's,.*/,,'`
|
||||
|
||||
.texinfo:
|
||||
- @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
|
||||
- cd $(srcdir) \
|
||||
- && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
|
||||
+ @rm -f $@ $@-[0-9] $@-[0-9][0-9]
|
||||
+ $(MAKEINFO) -I $(srcdir) `echo $< | sed 's,.*/,,'`
|
||||
|
||||
.texinfo.dvi:
|
||||
TEXINPUTS=.:$$TEXINPUTS \
|
||||
MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
|
||||
|
||||
.txi.info:
|
||||
- @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
|
||||
- cd $(srcdir) \
|
||||
- && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
|
||||
+ @rm -f $@ $@-[0-9] $@-[0-9][0-9]
|
||||
+ $(MAKEINFO) -I $(srcdir) `echo $< | sed 's,.*/,,'`
|
||||
|
||||
.txi.dvi:
|
||||
TEXINPUTS=.:$$TEXINPUTS \
|
||||
MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
|
||||
|
||||
.txi:
|
||||
- @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
|
||||
- cd $(srcdir) \
|
||||
- && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
|
||||
+ @rm -f $@ $@-[0-9] $@-[0-9][0-9]
|
||||
+ $(MAKEINFO) -I $(srcdir) `echo $< | sed 's,.*/,,'`
|
||||
+
|
||||
.dvi.ps:
|
||||
$(DVIPS) $< -o $@
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user