Bug 188370 - net/freeradius3 post-patch problem
Summary: net/freeradius3 post-patch problem
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Ryan Steinmetz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-08 04:50 UTC by kasahara
Modified: 2014-04-09 03:20 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kasahara 2014-04-08 04:50:00 UTC
Building net/freeradius3 (3.0.2_1) fails:

# make
===>  License GPLv2 accepted by the user
===>  Found saved configuration for freeradius3-3.0.2
===>   freeradius3-3.0.2_1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by freeradius3-3.0.2_1 for building
===>  Extracting for freeradius3-3.0.2_1
=> SHA256 Checksum OK for freeradius-server-3.0.2.tar.bz2.
===>  Patching for freeradius3-3.0.2_1
===>  Applying FreeBSD patches for freeradius3-3.0.2_1
sed: /usr/ports/net/freeradius3/work/freeradius-server-3.0.2/configure.in: No such file or directory
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/net/freeradius3

Fix: There is no configure.in in the tarball.



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} -e '/execinfo.h/d' ${WRKSRC}/configure
        @${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}:" \--LMw88TDsLTSEMMYnb8aZz6CfJpjGsUzfCwDRTwc42qN5zD4O
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

--- Makefile.orig       2014-04-03 07:19:50.000000000 +0900
+++ Makefile    2014-04-08 12:20:42.000000000 +0900
@@ -360,8 +360,7 @@
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-04-08 04:50:03 UTC
Responsible Changed
From-To: freebsd-ports-bugs->zi

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2014-04-09 03:19:10 UTC
Author: zi
Date: Wed Apr  9 02:19:06 2014
New Revision: 350661
URL: http://svnweb.freebsd.org/changeset/ports/350661
QAT: https://qat.redports.org/buildarchive/r350661/

Log:
  - Fix build
  - Bump PORTREVISION
  
  PR:		ports/188370
  Submitted by:	Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
  Approved by:	portmgr (bdrewery)

Modified:
  head/net/freeradius3/Makefile

Modified: head/net/freeradius3/Makefile
==============================================================================
--- head/net/freeradius3/Makefile	Wed Apr  9 02:01:30 2014	(r350660)
+++ head/net/freeradius3/Makefile	Wed Apr  9 02:19:06 2014	(r350661)
@@ -3,7 +3,7 @@
 
 PORTNAME=	freeradius
 DISTVERSION=	3.0.2
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	net
 MASTER_SITES=	ftp://ftp.freeradius.org/pub/freeradius/%SUBDIR%/ \
 		ftp://ftp.ntua.gr/pub/net/radius/freeradius/%SUBDIR%/ \
@@ -360,8 +360,7 @@ 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} -e '/execinfo.h/d' ${WRKSRC}/configure
 	@${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}:" \
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Ryan Steinmetz freebsd_committer freebsd_triage 2014-04-09 03:19:21 UTC
State Changed
From-To: open->closed

Committed. Thanks!