1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-28 10:08:24 +00:00
freebsd-ports/net/isc-dhcp40-server/files/patch-configure

42 lines
944 B
Plaintext
Raw Normal View History

--- 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