aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2014-10-05 22:31:29 +0800
committertijl <tijl@FreeBSD.org>2014-10-05 22:31:29 +0800
commit10e0bd2199acf01f50267f35de9161923199bea0 (patch)
tree84ce7149bd5abd0220849a67dbecda6d12f4e237 /multimedia
parent9d5a6ceeb0f2188634c47bc409b9ad9b472f8cb3 (diff)
downloadfreebsd-ports-gnome-10e0bd2199acf01f50267f35de9161923199bea0.tar.gz
freebsd-ports-gnome-10e0bd2199acf01f50267f35de9161923199bea0.tar.zst
freebsd-ports-gnome-10e0bd2199acf01f50267f35de9161923199bea0.zip
- Remove USE_AUTOTOOLS
- Remove PTHREAD_CFLAGS/PTHREAD_LIBS - Remove -fPIC - Clean up post-patch and pre-configure
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/libquicktime/Makefile21
1 files changed, 4 insertions, 17 deletions
diff --git a/multimedia/libquicktime/Makefile b/multimedia/libquicktime/Makefile
index f0b0fab70cc1..f827b38bf252 100644
--- a/multimedia/libquicktime/Makefile
+++ b/multimedia/libquicktime/Makefile
@@ -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: