mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-14 07:43:06 +00:00
6db5748c1e
Step one: convert net/isc-dhcp3 into net/isc-dhcp3-server PR: ports/51757 Submitted by: Cyrille Lefevre <cyrille.lefevre@laposte.net>
42 lines
944 B
Plaintext
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
|