1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-14 07:43:06 +00:00
freebsd-ports/net/isc-dhcp40-server/files/patch-configure
Edwin Groothuis 6db5748c1e Maintainer update: isc-dhcp3 splitted to -server, -client, -relay and -devel sub-ports
Step one: convert net/isc-dhcp3 into net/isc-dhcp3-server

PR:		ports/51757
Submitted by:	Cyrille Lefevre <cyrille.lefevre@laposte.net>
2004-01-17 23:09:02 +00:00

42 lines
944 B
Plaintext

--- configure.orig Sat Apr 20 23:44:13 2002
+++ configure Mon Apr 28 23:02:10 2003
@@ -13,6 +13,9 @@
elif [ x$1 = x--dirs ]; then
dirs=$2
shift
+ elif [ x$1 = x--subsys ]; then
+ subsys=$2
+ shift
elif [ x$1 = x--no-links ]; then
nolinks=YES
elif [ x$1 = x--copts ]; then
@@ -233,7 +236,14 @@
fi
if [ x"$dirs" = x ]; then
- dirs=". client server relay common omapip dhcpctl minires dst"
+ dirs=". common minires dst omapip dhcpctl"
+ if [ x$subsys = x ]; then
+ dirs="$dirs server omshell client relay"
+ elif [ x$subsys = xserver ]; then
+ dirs="$dirs server omshell"
+ elif [ x$subsys = xclient -o x$subsys = xrelay ]; then
+ dirs="$dirs $subsys"
+ fi
fi
for foo in $dirs; do
@@ -253,7 +263,11 @@
# Make the link tree in which to actually build.
if [ x$nolinks = x ]; then
- make links
+ if [ x$subsys = x ]; then
+ make links
+ else
+ make links.$subsys
+ fi
fi
exit 0