diff options
author | Pawel Pekala <pawel@FreeBSD.org> | 2014-06-27 10:05:03 +0000 |
---|---|---|
committer | Pawel Pekala <pawel@FreeBSD.org> | 2014-06-27 10:05:03 +0000 |
commit | 896ba05de05bf6a1e96905c1154c416ba7e60332 (patch) | |
tree | ed7f2b94c78f93a12eb2ae5006d59ea82cb38f92 /multimedia/openquicktime | |
parent | a02ac775f9168605cc323b515244c53938321ba8 (diff) |
Notes
Diffstat (limited to 'multimedia/openquicktime')
-rw-r--r-- | multimedia/openquicktime/Makefile | 28 |
1 files changed, 9 insertions, 19 deletions
diff --git a/multimedia/openquicktime/Makefile b/multimedia/openquicktime/Makefile index a2962fb96713..20fa657c2a2c 100644 --- a/multimedia/openquicktime/Makefile +++ b/multimedia/openquicktime/Makefile @@ -12,7 +12,7 @@ EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org COMMENT= Portable library for handling Apple's QuickTime(TM) files -LIB_DEPENDS= jpeg.11:${PORTSDIR}/graphics/jpeg +LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg GNU_CONFIGURE= yes USE_GNOME= gtk12 @@ -20,31 +20,21 @@ USES= gmake USE_LDCONFIG= yes PKGDEINSTALL= ${PKGINSTALL} -OPTIONS_DEFINE= DEBUG - -NO_STAGE= yes -.include <bsd.port.options.mk> +CFLAGS_amd64= -fPIC -.if ${PORT_OPTIONS:MDEBUG} -CONFIGURE_ARGS+= --enable-debug=no -.endif +OPTIONS_DEFINE= DEBUG -.if ${ARCH} == "amd64" -CFLAGS+= -fPIC -.endif +DEBUG_CONFIGURE_OFF= --enable-debug=no post-patch: - @${REINPLACE_CMD} -e 's|xCC|xc| ; s|-O2||' \ + @${REINPLACE_CMD} -e 's|xCC|xc| ; s|-O2|| ; s|-fpic||' \ -e 's|ftello64|ftello| ; s|fseeko64|fseeko|' \ ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} + @${REINPLACE_CMD} -E 's,(bin|lib|include)dir),DESTDIR)$$(&,' \ + ${WRKSRC}/Makefile.in \ + ${WRKSRC}/audioplugin/MP3/Makefile.in \ + ${WRKSRC}/videoplugin/PHOTO_JPEG/Makefile.in @${REINPLACE_CMD} -e 's|"m"|"g"|' \ ${WRKSRC}/audioplugin/MP3/audioencoder/lame3.70/quantize-pvt.c - @${REINPLACE_CMD} \ - -e 's|-fpic||' \ - ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} - -post-install: - @${SETENV} PKG_PREFIX=${PREFIX} ${SH} \ - ${PKGINSTALL} ${PKGNAME} POST-INSTALL .include <bsd.port.mk> |