From 02968dbf5da5d3ed65d3ad5173727b3c1455cd99 Mon Sep 17 00:00:00 2001 From: Roger Hardiman Date: Wed, 15 Nov 2000 10:03:39 +0000 Subject: [PATCH] There are two different tarballs for aalib-1.2 on the internet. There is one copy on the author's ftp site. There is a differnt copy on all the SunSite mirrors. The difference is small. The SunSite copy contains a config.cache file. The actual source code is identical. So, allow this port to work with either tarballs. We need both checksums in distinfo and we need to delete config.cache (if it exists) prior to running configure. Submitted by: bento which found the problem while the authors site was down --- graphics/aalib/Makefile | 1 + graphics/aalib/distinfo | 1 + 2 files changed, 2 insertions(+) diff --git a/graphics/aalib/Makefile b/graphics/aalib/Makefile index 9774570fa815..a7f323ad22d5 100644 --- a/graphics/aalib/Makefile +++ b/graphics/aalib/Makefile @@ -28,6 +28,7 @@ CONFIGURE_ARGS= --with-x=no .endif post-patch: + @${RM} -f ${WRKSRC}/config.cache @${PERL} -pi -e "s|%%LOCALBASE%%|${LOCALBASE}|g;" ${WRKSRC}/configure.in .include diff --git a/graphics/aalib/distinfo b/graphics/aalib/distinfo index 7009e542b1db..fa4e1d513cd9 100644 --- a/graphics/aalib/distinfo +++ b/graphics/aalib/distinfo @@ -1 +1,2 @@ +MD5 (aalib-1.2.tar.gz) = 36c7156f33a6bb7a0fac735d8a4d1791 MD5 (aalib-1.2.tar.gz) = 790434e0f2005fc95559ab3eab42e746