Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Sep 2000 11:26:06 +0300
From:      Peter Pentchev <roam@orbitel.bg>
To:        kris@freebsd.org
Cc:        ports@freebsd.org
Subject:   unbreak devel/cdk port, raise minor PORTREVISION issue
Message-ID:  <20000925112606.A31322@ringwraith.office1.bg>

next in thread | raw e-mail | index | archive | help
Hi Kris,

Your recent commit to ports/devel/cdk/Makefile breaks builds of the port.
Actually, this seems to be a common problem with most ports now that
the PORTREVISION/PORTEPOCH system is in place - most ports with bumped
PORTREVISION would need an additional (constant) line:

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}

Without this, 'patch' and all further targets fail, since they either
try a cd to ${WRKDIR}/${PORTNAME}, or ${WRKDIR}/${PKGNAME} - none of
which expand to ${PORTNAME}-${PORTVERSION} any longer.

Attached is a proposed (trivial) patch for the devel/cdk port.

G'luck,
Peter

-- 
"yields falsehood, when appended to its quotation." yields falsehood, when appended to its quotation.

diff -urN ports/devel/cdk/Makefile myports/devel/cdk/Makefile
--- ports/devel/cdk/Makefile	Fri Sep 22 14:50:56 2000
+++ myports/devel/cdk/Makefile	Mon Sep 25 11:22:25 2000
@@ -15,7 +15,7 @@
 
 MAINTAINER=	obrien@FreeBSD.org
 
-WRKSRC=		${WRKDIR}/${PKGNAME}
+WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 GNU_CONFIGURE=	yes
 INSTALLS_SHLIB=	yes
 ALL_TARGET=	default


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?20000925112606.A31322>