pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/misc/openoffice2 - Update comment for ldconfig.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d765c0d57503
branches:  trunk
changeset: 538318:d765c0d57503
user:      hira <hira%pkgsrc.org@localhost>
date:      Tue Feb 05 22:11:16 2008 +0000

description:
- Update comment for ldconfig.
 - Add pre-configure target.

diffstat:

 misc/openoffice2/Makefile.FreeBSD |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r bbcf056f2013 -r d765c0d57503 misc/openoffice2/Makefile.FreeBSD
--- a/misc/openoffice2/Makefile.FreeBSD Tue Feb 05 22:08:29 2008 +0000
+++ b/misc/openoffice2/Makefile.FreeBSD Tue Feb 05 22:11:16 2008 +0000
@@ -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 @@
 # 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
 



Home | Main Index | Thread Index | Old Index