ports/148985: [patch] devel/orc: prevent autoconf re-run
Anonymous
swell.k at gmail.com
Tue Jul 27 08:10:01 UTC 2010
>Number: 148985
>Category: ports
>Synopsis: [patch] devel/orc: prevent autoconf re-run
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Jul 27 08:10:00 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Anonymous
>Release: FreeBSD 9.0-CURRENT amd64
>Organization:
>Environment:
>Description:
While here don't link against librt for clock_gettime(), it's in libc.
>How-To-Repeat:
$ make
...
===> Building for orc-0.4.6
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /a/pkgbuild/a/freebsd-ports/devel/orc/work/orc-0.4.6/missing --run aclocal-1.11 -I m4
configure.ac:46: error: AC_CHECK_SIZEOF: requires literal arguments
../../lib/autoconf/types.m4:765: AC_CHECK_SIZEOF is expanded from...
m4/ax_create_stdint_h.m4:86: AX_CHECK_DATA_MODEL is expanded from...
m4/ax_create_stdint_h.m4:173: AX_CREATE_STDINT_H is expanded from...
configure.ac:46: the top level
autom4te-2.66: /usr/pkg/bin/gm4 failed with exit status: 1
aclocal-1.11: autom4te failed with exit status: 1
gmake: *** [aclocal.m4] Error 1
===> Compilation failed unexpectedly.
>Fix:
--- a.diff begins here ---
Index: devel/orc/Makefile
===================================================================
RCS file: /a/.cvsup/ports/devel/orc/Makefile,v
retrieving revision 1.4
diff -u -p -r1.4 Makefile
--- devel/orc/Makefile 15 Jul 2010 15:29:51 -0000 1.4
+++ devel/orc/Makefile 27 Jul 2010 07:56:29 -0000
@@ -43,6 +43,7 @@ MAKE_ARGS+= SUBDIRS="${SUBDIRS}"
post-patch:
@${REINPLACE_CMD} \
-e 's|pkgconfigdir=.*|pkgconfigdir=\"\\$$(prefix)/libdata/pkgconfig\"|g' \
- ${WRKSRC}/configure ${WRKSRC}/configure.ac
+ -e '/LIBS/s/-lrt//; /LIBRT/s/-lrt//' \
+ ${WRKSRC}/configure
.include <bsd.port.post.mk>
--- a.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list