From 112225189aab87e3b322bd888bbdf12fce6c1b8b Mon Sep 17 00:00:00 2001 From: schmonz Date: Mon, 4 Jun 2007 14:45:47 +0000 Subject: 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. --- editors/nvi/Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'editors/nvi') diff --git a/editors/nvi/Makefile b/editors/nvi/Makefile index a350c239c78..198d5c1fd84 100644 --- a/editors/nvi/Makefile +++ b/editors/nvi/Makefile @@ -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 -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_sys5_pty=no 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 -- cgit v1.2.3