ports/117145: [PATCH] math/dislin - update to 9.2

thierry at FreeBSD.org thierry at FreeBSD.org
Sun Dec 23 20:44:28 UTC 2007


Synopsis: [PATCH] math/dislin - update to 9.2

State-Changed-From-To: open->feedback
State-Changed-By: thierry
State-Changed-When: Dim 23 déc 2007 20:39:06 UTC
State-Changed-Why: 

It seems that the file has been updated:

=> dislin-9.2.fbsd-6.0.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from ftp://ftp.gwdg.de/pub/grafik/dislin/unix/.
fetch: ftp://ftp.gwdg.de/pub/grafik/dislin/unix/dislin-9.2.fbsd-6.0.tar.gz: size mismatch: expected 13918462, actual 14463705
=> Attempting to fetch from ftp://ftp.fr.freebsd.org/pub/FreeBSD/ports/distfiles/.
fetch: ftp://ftp.fr.freebsd.org/pub/FreeBSD/ports/distfiles/dislin-9.2.fbsd-6.0.tar.gz: File unavailable (e.g., file not found, no access)
=> Couldn't fetch it - please try to retrieve this
=> port manually into /usr/ports/distfiles/ and try again.
*** Error code 1

Moreover, I guess that compat6x should be used on FreeBSD-7 and 8, and
I propose the following patch:

--- dislin.diff begins here ---
--- math/dislin/Makefile.orig	2007-12-23 21:37:11.000000000 +0100
+++ math/dislin/Makefile	2007-12-23 21:37:44.000000000 +0100
@@ -20,8 +20,6 @@
 NO_BUILD=	yes
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 
-BROKEN=		does not fetch
-
 MD5_FILE=	${MASTERDIR}/distinfo${BINVER}
 PLIST_SUB+=	VER=${PORTVERSION} MAJ=${MAJ}
 SUB_FILES=	dislin.sh pkg-message
@@ -43,6 +41,10 @@
 BINVER=		-6.0
 .endif
 
+.if ${OSVERSION} >= 700000
+LIB_DEPENDS+=	z.3:${PORTSDIR}/misc/compat6x
+.endif
+
 do-install:
 	cd ${WRKSRC} && ${SETENV} DISLIN=${DISLIN_DIR} ${SH} INSTALL
 	${INSTALL_SCRIPT} ${WRKDIR}/dislin.sh ${DISLIN_DIR}/bin
--- dislin.diff ends here ---

Could you please check it?



Responsible-Changed-From-To: freebsd-ports-bugs->thierry
Responsible-Changed-By: thierry
Responsible-Changed-When: Dim 23 déc 2007 20:39:06 UTC
Responsible-Changed-Why: 

Take it.


http://www.freebsd.org/cgi/query-pr.cgi?pr=117145



More information about the freebsd-ports-bugs mailing list