pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/shells/static-tcsh PKGNAME must be defined before incl...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8a232d29eb77
branches:  trunk
changeset: 528234:8a232d29eb77
user:      obache <obache%pkgsrc.org@localhost>
date:      Wed Apr 25 13:26:42 2007 +0000

description:
PKGNAME must be defined before include bsd.pkg.mk,
if not, in 'package' phase, PKGNAME==DISTNAME.

Remove WRKSRC definision, it equals to default value.

diffstat:

 shells/static-tcsh/Makefile |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r 6c612242c0d3 -r 8a232d29eb77 shells/static-tcsh/Makefile
--- a/shells/static-tcsh/Makefile       Wed Apr 25 13:24:24 2007 +0000
+++ b/shells/static-tcsh/Makefile       Wed Apr 25 13:26:42 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2007/04/14 11:43:13 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2007/04/25 13:26:42 obache Exp $
 #
 
 MAINTAINER=            agc%NetBSD.org@localhost
@@ -9,10 +9,10 @@
 
 CONFLICTS=             tcsh-[0-9]*
 
+PKGNAME=               static-${DISTNAME}
+
 .include "../../shells/tcsh/Makefile"
 
-WRKSRC:=               ${WRKDIR}/${DISTNAME}
-PKGNAME:=              static-${DISTNAME}
 COMMENT:=              Statically-linked version of the ${COMMENT}
 
 LDFLAGS+=              -static



Home | Main Index | Thread Index | Old Index