Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Oct 2014 14:31:30 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r370086 - head/multimedia/libquicktime
Message-ID:  <201410051431.s95EVU7o025440@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Sun Oct  5 14:31:29 2014
New Revision: 370086
URL: https://svnweb.freebsd.org/changeset/ports/370086
QAT: https://qat.redports.org/buildarchive/r370086/

Log:
  - Remove USE_AUTOTOOLS
  - Remove PTHREAD_CFLAGS/PTHREAD_LIBS
  - Remove -fPIC
  - Clean up post-patch and pre-configure

Modified:
  head/multimedia/libquicktime/Makefile

Modified: head/multimedia/libquicktime/Makefile
==============================================================================
--- head/multimedia/libquicktime/Makefile	Sun Oct  5 14:14:44 2014	(r370085)
+++ head/multimedia/libquicktime/Makefile	Sun Oct  5 14:31:29 2014	(r370086)
@@ -19,12 +19,10 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 
 USE_LDCONFIG=	yes
 USES=		gettext gmake libtool pathfix pkgconfig
-USE_AUTOTOOLS=	autoconf
+GNU_CONFIGURE=	yes
+CPPFLAGS+=	-I${LOCALBASE}/include
+LIBS+=		-L${LOCALBASE}/lib -lintl
 
-CPPFLAGS+=	-I${LOCALBASE}/include ${PTHREAD_CFLAGS}
-LDFLAGS+=	-L${LOCALBASE}/lib ${PTHREAD_LIBS} -lintl
-
-CFLAGS+=	-fPIC
 .if !defined(_BUILDING_LIBQUICKTIME_PLUGINS)
 USE_XORG=	xaw xv
 CONFIGURE_ARGS=	--with-x --enable-gpl --without-doxygen --without-lame
@@ -128,19 +126,8 @@ CONFIGURE_ARGS+=	--without-schroedinger
 
 .endif
 
-AUTOTOOLSFILES=	aclocal.m4
-
 post-patch:
-	@${REINPLACE_CMD} -e 's|2.64|%%AUTOCONF_VERSION%%|g' ${WRKSRC}/aclocal.m4
-	@${REINPLACE_CMD} -e 's|stdint.h|inttypes.h|' \
-		${WRKSRC}/plugins/audiocodec/* \
-		${WRKSRC}/plugins/videocodec/*
-	@${REINPLACE_CMD} -E -e 's|objformat=aout|objformat=elf|g' ${WRKSRC}/configure
-	@${REINPLACE_CMD} -e 's|-DG.*_DISABLE_DEPRECATED||g' \
-		${WRKSRC}/configure*
-
-pre-configure:
-	@${CHMOD} +x ${WRKSRC}/configure
+	@${REINPLACE_CMD} 's/-DGTK_DISABLE_DEPRECATED//' ${WRKSRC}/configure
 
 .if ${PORT_OPTIONS:MDOCS} && !defined(_BUILDING_LIBQUICKTIME_PLUGINS)
 post-install:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410051431.s95EVU7o025440>