summaryrefslogtreecommitdiff
path: root/multimedia/xine-lib/Makefile.common
diff options
context:
space:
mode:
authorsbd <sbd>2011-12-24 03:02:25 +0000
committersbd <sbd>2011-12-24 03:02:25 +0000
commitc64624b77bd8b3c4450295f4f6cda1943a74db73 (patch)
tree407fbe412fd04fefe2a766f09f527ddeb7ec9f65 /multimedia/xine-lib/Makefile.common
parent564a33a137ef10439710ecae6a5e54e31bebf6ef (diff)
downloadpkgsrc-c64624b77bd8b3c4450295f4f6cda1943a74db73.tar.gz
A simpler way to decide if -lXinerama is need is to use XINERAMA_LIBS which
gets its value from pkg-config. Also add 'automake' to USE_TOOLS and the pre-configure target.
Diffstat (limited to 'multimedia/xine-lib/Makefile.common')
-rw-r--r--multimedia/xine-lib/Makefile.common5
1 files changed, 3 insertions, 2 deletions
diff --git a/multimedia/xine-lib/Makefile.common b/multimedia/xine-lib/Makefile.common
index 733d1fbb3d2..315c80569ab 100644
--- a/multimedia/xine-lib/Makefile.common
+++ b/multimedia/xine-lib/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.71 2011/11/18 07:27:43 obache Exp $
+# $NetBSD: Makefile.common,v 1.72 2011/12/24 03:02:25 sbd Exp $
#
# used by audio/xine-alsa/Makefile
# used by audio/xine-arts/Makefile
@@ -28,7 +28,7 @@ USE_PKGLOCALEDIR= YES
USE_LIBTOOL= YES
LIBTOOL_OVERRIDE= libtool libtool-nofpic
PKGCONFIG_OVERRIDE= misc/libxine.pc.in
-USE_TOOLS+= autoconf gmake msgfmt pkg-config xmkmf perl
+USE_TOOLS+= autoconf automake gmake msgfmt pkg-config xmkmf perl
CONFIGURE_ARGS+= --with-w32-path='${PREFIX}/lib/win32'
#CONFIGURE_ARGS+= --without-external-ffmpeg --disable-ffmpegtest
@@ -66,6 +66,7 @@ BUILDLINK_TRANSFORM+= "rm:-Wl,--no-undefined"
pre-configure:
${TOUCH} ${WRKSRC}/lib/dummy.c
+ cd ${WRKSRC} && automake -Wnone
cd ${WRKSRC} && autoheader
cd ${WRKSRC} && autoconf