pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/editors/nvi On Darwin, link with -flat_namespace. Fixe...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2476bf832ecb
branches:  trunk
changeset: 529430:2476bf832ecb
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Mon Jun 04 14:45:47 2007 +0000

description:
On Darwin, link with -flat_namespace. Fixes this runtime error:

    dyld: Symbol not found: ___global_list
      Referenced from: /usr/pkg/lib/libvi.0.dylib
      Expected in: flat namespace

    Trace/BPT trap

Bump PKGREVISION. While here, reverse-resolve HOMEPAGE and MASTER_SITES.

diffstat:

 editors/nvi/Makefile |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r 120cdffb92ed -r 2476bf832ecb editors/nvi/Makefile
--- a/editors/nvi/Makefile      Mon Jun 04 14:43:57 2007 +0000
+++ b/editors/nvi/Makefile      Mon Jun 04 14:45:47 2007 +0000
@@ -1,14 +1,14 @@
-# $NetBSD: Makefile,v 1.23 2007/02/22 19:01:18 wiz Exp $
+# $NetBSD: Makefile,v 1.24 2007/06/04 14:45:47 schmonz Exp $
 #
 
 DISTNAME=      nvi-1.81.5
-PKGREVISION=   3
+PKGREVISION=   4
 CATEGORIES=    editors
-MASTER_SITES=  http://193.190.253.81/~skimo/nvi/devel/
+MASTER_SITES=  ${HOMEPAGE}
 EXTRACT_SUFX=  .tar.bz2
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      http://193.190.253.81/~skimo/nvi/devel/
+HOMEPAGE=      http://www.kotnet.org/~skimo/nvi/devel/
 COMMENT=       Berkeley nvi with additional features
 
 .include "../../mk/bsd.prefs.mk"
@@ -24,6 +24,7 @@
 CONFIGURE_ENV+=                vi_cv_include_sys_select=no
 .elif ${OPSYS} == "Darwin"
 CONFIGURE_ENV+=                vi_cv_sys5_pty=no
+LDFLAGS+=              -flat_namespace
 .endif
 
 WRKSRC=                        ${WRKDIR}/${DISTNAME}/build.unix



Home | Main Index | Thread Index | Old Index