aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/aalib/Makefile
diff options
context:
space:
mode:
authorroger <roger@FreeBSD.org>2000-11-15 18:03:39 +0800
committerroger <roger@FreeBSD.org>2000-11-15 18:03:39 +0800
commit6cbc94b6fdd5e7371c4693ab4dab8290e286288a (patch)
treed301e67b683a7cb0b4a5b78286352338b88db37e /graphics/aalib/Makefile
parentf8108289f20b3bd509be77379138aeec96869eff (diff)
downloadfreebsd-ports-gnome-6cbc94b6fdd5e7371c4693ab4dab8290e286288a.tar.gz
freebsd-ports-gnome-6cbc94b6fdd5e7371c4693ab4dab8290e286288a.tar.zst
freebsd-ports-gnome-6cbc94b6fdd5e7371c4693ab4dab8290e286288a.zip
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
Diffstat (limited to 'graphics/aalib/Makefile')
-rw-r--r--graphics/aalib/Makefile1
1 files changed, 1 insertions, 0 deletions
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 <bsd.port.mk>