diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2002-05-16 02:21:14 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2002-05-16 02:21:14 +0000 |
commit | 799cb22785157915ecc04f05836c72a04bbb4fbc (patch) | |
tree | 8430b6fd0e90d6d301f6be7925e0f733e8eee8d5 /multimedia/ogle | |
parent | 49533567a0173fbe92e597101207779f617605e6 (diff) | |
download | ports-799cb22785157915ecc04f05836c72a04bbb4fbc.tar.gz ports-799cb22785157915ecc04f05836c72a04bbb4fbc.zip |
Fix configure against latest liba52 port with djbfft enabled per
default
Notes
Notes:
svn path=/head/; revision=59220
Diffstat (limited to 'multimedia/ogle')
-rw-r--r-- | multimedia/ogle/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/multimedia/ogle/Makefile b/multimedia/ogle/Makefile index ed4ef887ac3a..962f5c4aae86 100644 --- a/multimedia/ogle/Makefile +++ b/multimedia/ogle/Makefile @@ -28,6 +28,8 @@ CONFIGURE_ARGS= --with-libjpeg=${LOCALBASE} \ MAKE_ENV= SDL_CONFIG=${SDL_CONFIG} INSTALLS_SHLIB= yes +CUT?= /usr/bin/cut + MAN1= ogle.1 MAN5= oglerc.5 @@ -37,10 +39,11 @@ post-patch: .ifdef(WITH_DVD_DEVICE) @${PERL} -pi.orig -e \ "s|(DEFAULT_DVD_DEVICE=\")/dev/acd0c(\")|\1${WITH_DVD_DEVICE}\2|" \ - ${WRKSRC}/configure.in + ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} .endif @${PERL} -pi -e "s|%%X11BASE%%|${X11BASE}|" ${WRKSRC}/scripts/ogle.in - @${PERL} -pi -e 's|(xmlversion.h>)|libxml/\1|' \ + @${PERL} -pi -e 's|(xmlversion.h>)|libxml/\1|; \ + s|(-la52)|\1 ${LIBA52_DEP_LIBS}|' \ ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} pre-configure: @@ -55,6 +58,9 @@ post-install: .include <bsd.port.pre.mk> +# hack to make ogle work with liba52 + djbfft +LIBA52_DEP_LIBS!= ${GREP} dependency_libs ${LOCALBASE}/lib/liba52.la | ${CUT} -d \' -f 2 + .if ${ARCH} == "i386" . if (defined(MACHINE_CPU) && ${MACHINE_CPU:Mi486} == "i486") WITH_OPTIMIZED_BYTESWAP=yes |