diff options
author | lioux <lioux@FreeBSD.org> | 2002-05-16 10:21:14 +0800 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2002-05-16 10:21:14 +0800 |
commit | 926d559b7bfc7181f25397976ec231f01cf6288e (patch) | |
tree | eff9020a5c58b43b81685c16126600bd0adc295a | |
parent | f936deb08ce8e1d6061afa52b0f3f374bc4f8a3b (diff) | |
download | freebsd-ports-graphics-926d559b7bfc7181f25397976ec231f01cf6288e.tar.gz freebsd-ports-graphics-926d559b7bfc7181f25397976ec231f01cf6288e.tar.zst freebsd-ports-graphics-926d559b7bfc7181f25397976ec231f01cf6288e.zip |
Fix configure against latest liba52 port with djbfft enabled per
default
-rw-r--r-- | graphics/ogle/Makefile | 10 | ||||
-rw-r--r-- | multimedia/ogle/Makefile | 10 |
2 files changed, 16 insertions, 4 deletions
diff --git a/graphics/ogle/Makefile b/graphics/ogle/Makefile index ed4ef887ac3..962f5c4aae8 100644 --- a/graphics/ogle/Makefile +++ b/graphics/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 diff --git a/multimedia/ogle/Makefile b/multimedia/ogle/Makefile index ed4ef887ac3..962f5c4aae8 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 |