From d268f00848daacf22b96f921d3917b96013993cf Mon Sep 17 00:00:00 2001
From: sat <sat@FreeBSD.org>
Date: Sun, 4 Feb 2007 18:25:36 +0000
Subject: - /objformat=/s|=.*|=elf| [1] - Don't build static lib

Reported by:	pointyhat via kris [1]
Approved by:	Beech Rintoul <freebsd@alaskaparadise.com> (maintainer)
---
 audio/x11amp/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'audio/x11amp/Makefile')

diff --git a/audio/x11amp/Makefile b/audio/x11amp/Makefile
index ed3221c84211..6d41f9affe73 100644
--- a/audio/x11amp/Makefile
+++ b/audio/x11amp/Makefile
@@ -21,6 +21,7 @@ USE_XLIB=	yes
 USE_GNOME=	gtk12 esound
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
+CONFIGURE_ARGS=	--disable-static
 CONFIGURE_ENV=	PTHREAD_LIBS="${PTHREAD_LIBS}"
 MAKE_ENV=	PTHREAD_LIBS="${PTHREAD_LIBS}"
 
@@ -30,4 +31,7 @@ post-extract:
 	@${CP} ${FILESDIR}/main.xpm ${WRKSRC}/x11amp/defskin
 	@${CHMOD} a+x ${WRKSRC}/ltconfig
 
+post-patch:
+	@${REINPLACE_CMD} -e '/objformat=/s|=.*|=elf|' ${WRKSRC}/ltconfig
+
 .include <bsd.port.post.mk>
-- 
cgit