diff options
-rw-r--r-- | multimedia/libquicktime/Makefile | 19 | ||||
-rw-r--r-- | multimedia/libquicktime/pkg-plist | 2 |
2 files changed, 6 insertions, 15 deletions
diff --git a/multimedia/libquicktime/Makefile b/multimedia/libquicktime/Makefile index 812eb93a15cd..9e43ff7329a0 100644 --- a/multimedia/libquicktime/Makefile +++ b/multimedia/libquicktime/Makefile @@ -7,7 +7,7 @@ PORTNAME= libquicktime PORTVERSION= 1.1.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= multimedia MASTER_SITES= SF @@ -21,14 +21,13 @@ LIB_DEPENDS= vorbis.4:${PORTSDIR}/audio/libvorbis USE_LDCONFIG= yes USE_GNOME= gnometarget gnomehack pkgconfig USE_GMAKE= yes +USE_GETTEXT= yes MAKE_JOBS_SAFE= yes USE_AUTOTOOLS= autoconf:262 -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" -.if !defined(WITHOUT_NLS) + +CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS} -lintl" -.else -CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" -.endif + CFLAGS+= -fPIC .if !defined(_BUILDING_LIBQUICKTIME_PLUGINS) USE_XORG= xaw xv @@ -159,14 +158,6 @@ CONFIGURE_ARGS+= --disable-mmx .endif -.if defined(WITHOUT_NLS) -CONFIGURE_ARGS+= --disable-nls -PLIST_SUB+= NLS="@comment " -.else -USE_GETTEXT= yes -PLIST_SUB+= NLS="" -.endif - post-patch: @${REINPLACE_CMD} -e 's|2.61|2.62|g' ${WRKSRC}/aclocal.m4 @${REINPLACE_CMD} -e 's|stdint.h|inttypes.h|' \ diff --git a/multimedia/libquicktime/pkg-plist b/multimedia/libquicktime/pkg-plist index 6e98cd10b03a..59d5ad6c34e1 100644 --- a/multimedia/libquicktime/pkg-plist +++ b/multimedia/libquicktime/pkg-plist @@ -46,6 +46,6 @@ lib/libquicktime/lqt_vorbis.so %%X264%%lib/libquicktime/lqt_x264.so libdata/pkgconfig/libquicktime.pc share/aclocal/lqt.m4 -%%NLS%%share/locale/de/LC_MESSAGES/libquicktime.mo +share/locale/de/LC_MESSAGES/libquicktime.mo @dirrm lib/libquicktime @dirrm include/lqt |