summaryrefslogtreecommitdiff
path: root/net/gnu-radius
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2003-07-20 16:21:15 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2003-07-20 16:21:15 +0000
commit2eb34357b895876ac03c50ca55a5cd15007a53f5 (patch)
tree9ca9203b9d13270d2e038d3c303a7a86fd693268 /net/gnu-radius
parentDon't hardcode libgnugetopt into patch. (diff)
create ${WRKDIRPREFIX}${CURDIR} before generate Makefile.inc
PR: 54642 Submitted by: tjs@cdpa.nsysu.edu.tw
Notes
Notes: svn path=/head/; revision=85243
Diffstat (limited to 'net/gnu-radius')
-rw-r--r--net/gnu-radius/Makefile3
-rw-r--r--net/gnu-radius/scripts/configure1
2 files changed, 3 insertions, 1 deletions
diff --git a/net/gnu-radius/Makefile b/net/gnu-radius/Makefile
index 161dd380a0b2..e43e3ebae2ff 100644
--- a/net/gnu-radius/Makefile
+++ b/net/gnu-radius/Makefile
@@ -26,7 +26,8 @@ MAN8= builddbm.8 radctl.8 radiusd.8 radping.8 radzap.8
MANCOMPRESSED= no
SCRIPTS_ENV= WRKDIRPREFIX="${WRKDIRPREFIX}" \
- CURDIR="${.CURDIR}"
+ CURDIR="${.CURDIR}" \
+ MKDIR="${MKDIR}"
STARTUP_FILE= ${PREFIX}/etc/rc.d/gnu-radius.sh
diff --git a/net/gnu-radius/scripts/configure b/net/gnu-radius/scripts/configure
index b981006c651f..3051a69ae626 100644
--- a/net/gnu-radius/scripts/configure
+++ b/net/gnu-radius/scripts/configure
@@ -38,6 +38,7 @@ Notify "Enable TTL notification" OFF \
esac
fi
+${MKDIR} ${WRKDIRPREFIX}${CURDIR}
exec > ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
INCLUDE_PATH=${LOCALBASE}/include/