Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Apr 2000 22:23:44 -0700 (MST)
From:      John Reynolds <jjreynold@home.com>
To:        ports@freebsd.org
Subject:   something thoroughly wierd with wordperfect port ...
Message-ID:  <14595.55904.403124.700439@whale.home-net>

next in thread | raw e-mail | index | archive | help

Has anybody seen this?

root@whale [ports/editors/wordperfect]<27># make describe
-: You need to define PORTNAME and PORTVERSION instead of PKGNAME.
(This port is too old for your bsd.port.mk.)
*** Error code 1

Stop.

I looked at the Makefile, and it looks like it went through the recent
conversion process OK:

PORTNAME=       wordperfect
PORTVERSION=    8.0

I checked my version of bsd.port.mk in the Mk directory and it is current (same
version as HEAD per the CVS repos--1.337).

What the heck's going on here? What are some suggestions in debugging?

I looked at the bsd.*.mk files in Mk and tried to track it down. I see the
following:

   .if !defined(PORTNAME) || !defined(PORTVERSION) || defined(PKGNAME)
   .BEGIN:
   	   @${ECHO} "${PKGNAME}: You need to define PORTNAME and PORTVERSION instead of PKGNAME."
   	   @${ECHO} "(This port is too old for your bsd.port.mk.)"
   	   @${FALSE}
   .endif
   PKGNAME=	${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION}
   DISTNAME?=	${PORTNAME}-${PORTVERSION}

It appears that PKGNAME is being set to '-' per the error message that I'm
seeing on the screen. But, the only places where I see "PKGNAME=" in any of the
.mk files is just below this error message--so I don't know how PKGNAME is
being set to something. What's going on here? Is anybody else seeing this with
the wordperfect port?

I discovered this when I noticed that "make index" from /usr/ports was
busted. I then did "make -k describe" from /usr/ports and saved the output and
tracked it down to wordperfect croaking.

-Jr

ps: yes, I CVSuped the ports just 30 minutes ago (this had been happening since
last thursday, I just now got the time to try to chase it down and ran up
against a dry well ...).

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
John Reynolds         Chandler Capabilities Engineering, CDS, Intel Corporation
jreynold@sedona.ch.intel.com  My opinions are mine, not Intel's. Running
jjreynold@home.com          FreeBSD 3.4-STABLE. FreeBSD: The Power to Serve.
http://members.home.com/jjreynold/  Come join us!!! @ http://www.FreeBSD.org/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14595.55904.403124.700439>