Skip site navigation (1)Skip section navigation (2)
Date:      24 Jan 1999 17:08:42 -0000
From:      Tom Hukins <tom@eborcom.com>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/9667: freeciv port does not honour ${PREFIX}
Message-ID:  <19990124170842.4332.qmail@eborcom.com>

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

>Number:         9667
>Category:       ports
>Synopsis:       freeciv port does not honour ${PREFIX}
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 24 09:50:01 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Tom Hukins
>Release:        FreeBSD 2.2.8-STABLE i386
>Organization:
eBORcOM
>Environment:

	

>Description:

The port of Freeciv uses HAS_CONFIGURE instead of GNU_CONFIGURE, and
thus does not honour ${PREFIX}.

The patch attached fixes this, and also modifies the port to use a
bzip2 compressed distfile. This issue was discussed recently in
freebsd-ports.

I sent in a patch similar to this for ports/9449, when Freeciv was
upgraded from 1.7.1 to 1.7.2, but my patch was not applied.

>How-To-Repeat:

	

>Fix:
	
diff -ruN freeciv.old/Makefile freeciv/Makefile
--- freeciv.old/Makefile	Sat Jan 23 16:41:09 1999
+++ freeciv/Makefile	Sun Jan 24 17:01:54 1999
@@ -3,17 +3,23 @@
 # Date created:		Jun 20 1997
 # Whom:			ada@bsd.org
 #
-# $Id: Makefile,v 1.14 1999/01/18 03:24:01 steve Exp $
+# $Id$
 #
 
 DISTNAME=	freeciv-1.7.2
 CATEGORIES=	games
 MASTER_SITES=	ftp://ftp.freeciv.org/pub/freeciv/
+EXTRACT_SUFX=	.tar.bz2
 
 MAINTAINER=	ada@bsd.org
 
+BUILD_DEPENDS=	bzip2:${PORTSDIR}/archivers/bzip2
 LIB_DEPENDS=	Xpm.4:${PORTSDIR}/graphics/xpm
 
-HAS_CONFIGURE=	yes
+EXTRACT_CMD=	bzip2
+EXTRACT_BEFORE_ARGS= -cd
+EXTRACT_AFTER_ARGS= | tar xf -
+
+GNU_CONFIGURE=	yes
 
 .include <bsd.port.mk>
diff -ruN freeciv.old/files/md5 freeciv/files/md5
--- freeciv.old/files/md5	Sat Jan 23 16:41:09 1999
+++ freeciv/files/md5	Tue Jan 12 17:47:51 1999
@@ -1,3 +1 @@
-MD5 (freeciv-1.0k.tar.Z) = 317845454015fd3c0c4e6fdf6a6c57c6
-MD5 (freeciv-151.tgz) = 4e15c94feef647bd93934243dbb853d7
-MD5 (freeciv-1.7.2.tar.gz) = 2058dd135c5eaa4f9a83e0ab6f228d03
+MD5 (freeciv-1.7.2.tar.bz2) = 88d5ab3a0482df864fcb53fd387d3239
>Release-Note:
>Audit-Trail:
>Unformatted:

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?19990124170842.4332.qmail>