- Fix build when devel/libexecinfo is present

- Bump PORTREVISION

PR:		ports/188089
Submitted by:	Lawrence "The Dreamer" Chen <beastie@tardisi.com>, feld@, Konstantin Belousov <kostikbel@gmail.com>
This commit is contained in:
Ryan Steinmetz 2014-04-02 22:19:50 +00:00
parent f2ffa5c037
commit 75c4ea5e7b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=349957
2 changed files with 8 additions and 0 deletions

View file

@ -3,6 +3,7 @@
PORTNAME= freeradius
DISTVERSION= 2.2.4
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= ftp://ftp.freeradius.org/pub/freeradius/%SUBDIR%/ \
ftp://ftp.ntua.gr/pub/net/radius/freeradius/%SUBDIR%/ \
@ -331,6 +332,9 @@ MAN8= radiusd.8 radmin.8 raddebug.8 radrelay.8 radsqlrelay.8 \
SUB_LIST+= REQUIRE="${_REQUIRE}"
post-patch:
# never try to find execinfo.h (needed until we can enable/disable backtrace
@${REINPLACE_CMD} -e '/execinfo.h/d' ${WRKSRC}/configure \
${WRKSRC}/configure.in
# Patch Makefile / Makefile.in throughout the source tree to install raddb
# contents in ${EXAMPLESDIR}/raddb rather than the raddbdir from configure
@${FIND} -E ${WRKSRC} -regex '.*/Makefile(\.in)?$$' -exec \

View file

@ -3,6 +3,7 @@
PORTNAME= freeradius
DISTVERSION= 3.0.2
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= ftp://ftp.freeradius.org/pub/freeradius/%SUBDIR%/ \
ftp://ftp.ntua.gr/pub/net/radius/freeradius/%SUBDIR%/ \
@ -358,6 +359,9 @@ MAN8= radiusd.8 radmin.8 raddebug.8 radrelay.8 radsqlrelay.8 \
SUB_LIST+= REQUIRE="${_REQUIRE}"
post-patch:
# never try to find execinfo.h (needed until we can enable/disable backtrace
@${REINPLACE_CMD} -e '/execinfo.h/d' ${WRKSRC}/configure \
${WRKSRC}/configure.in
@${REINPLACE_CMD} -Ee "s:tests/all.mk ::" ${WRKSRC}/src/all.mk
@${CP} ${WRKSRC}/m4/ax_with_prog.m4 ${WRKSRC}
@${REINPLACE_CMD} -Ee "s:^make:${GMAKE}:" \