From c301050b67943658dd205fe87c4bf7042cff259b Mon Sep 17 00:00:00 2001 From: hira Date: Tue, 5 Feb 2008 22:11:16 +0000 Subject: - Update comment for ldconfig. - Add pre-configure target. --- misc/openoffice2/Makefile.FreeBSD | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'misc') diff --git a/misc/openoffice2/Makefile.FreeBSD b/misc/openoffice2/Makefile.FreeBSD index 921b644b5ab..614c9cf4958 100644 --- a/misc/openoffice2/Makefile.FreeBSD +++ b/misc/openoffice2/Makefile.FreeBSD @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.FreeBSD,v 1.1 2008/02/05 19:17:24 hira Exp $ +# $NetBSD: Makefile.FreeBSD,v 1.2 2008/02/05 22:11:16 hira Exp $ BUILD_DEPENDS+= coreutils>=*:../../sysutils/coreutils BUILD_DEPENDS+= patch>=*:../../devel/patch @@ -8,7 +8,10 @@ CONFIGURE_ARGS+= --with-gnu-patch=${PREFIX}/bin/gpatch # libgcc_s.so is required, but FreeBSD does not have it. USE_PKGSRC_GCC= yes -# Is this required every time? +# Even if a conftest compiled with -Wl,-R${BUILDLINK_PREFIX.gcc34}/lib, +# /libexec/ld-elf.so.1 cannot find libgcc_s.so.1. +pre-configure: + ldconfig -m ${BUILDLINK_PREFIX.gcc34}/lib pre-build: ldconfig -m ${BUILDLINK_PREFIX.gcc34}/lib -- cgit v1.2.3