From 7c5b471ca062e077793ab5bbd97f79a9c10d6820 Mon Sep 17 00:00:00 2001
From: Juan RP <xtraeme@gmail.com>
Date: Thu, 16 Oct 2008 03:29:19 +0200
Subject: [PATCH] Ignore fixup_tmpl_libtool if $pkgname = libtool.

--HG--
extra : convert_revision : 2c3cea2b0eda84ad4e7c79eb78af8acb7a41ad89
---
 xbps.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/xbps.sh b/xbps.sh
index e8a5dceb618..88daaa3c901 100755
--- a/xbps.sh
+++ b/xbps.sh
@@ -552,6 +552,9 @@ fetch_distfiles()
 
 fixup_tmpl_libtool()
 {
+	# Ignore libtool itself
+	[ "$pkgname" = "libtool" ] && return 0
+
 	#
 	# If package has a libtool file replace it with ours, so that
 	# we use the master directory while relinking, all will be fine