aboutsummaryrefslogtreecommitdiff
path: root/net/gnu-radius
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2008-12-08 16:32:44 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2008-12-08 16:32:44 +0000
commitc1834419cd92826d1c01be9ccc3d59759f8d29dc (patch)
tree1801ae34c7c8797ec034aabc731819c427071bf2 /net/gnu-radius
parentc2a7c5d7a280ce1fbeb60c713ba2b6eb6d06c699 (diff)
downloadports-c1834419cd92826d1c01be9ccc3d59759f8d29dc.tar.gz
ports-c1834419cd92826d1c01be9ccc3d59759f8d29dc.zip
Notes
Diffstat (limited to 'net/gnu-radius')
-rw-r--r--net/gnu-radius/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/gnu-radius/Makefile b/net/gnu-radius/Makefile
index 42a9ab093db5..17692d0bd858 100644
--- a/net/gnu-radius/Makefile
+++ b/net/gnu-radius/Makefile
@@ -117,7 +117,8 @@ CONFIGURE_ARGS+=--enable-pam
post-patch:
${REINPLACE_CMD} -e 's|extern unsigned scheme_gc_interval;||g' \
${WRKSRC}/include/radiusd.h
- ${REINPLACE_CMD} -e '50s|^int|ssize_t|' ${WRKSRC}/radtest/input.l
+ ${REINPLACE_CMD} -e 's|int getline|ssize_t getline|' \
+ ${WRKSRC}/radtest/input.l ${WRKSRC}/radtest/input.c
post-install:
${INSTALL_SCRIPT} ${WRKDIR}/radiusd.sh ${PREFIX}/etc/rc.d/radiusd.sh