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
This commit is contained in:
Roger Hardiman 2000-11-15 10:03:39 +00:00
parent 628efbc5bb
commit 02968dbf5d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=35161
2 changed files with 2 additions and 0 deletions

View File

@ -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 <bsd.port.mk>

View File

@ -1 +1,2 @@
MD5 (aalib-1.2.tar.gz) = 36c7156f33a6bb7a0fac735d8a4d1791
MD5 (aalib-1.2.tar.gz) = 790434e0f2005fc95559ab3eab42e746