mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
Fix configure against latest liba52 port with djbfft enabled per
default
This commit is contained in:
parent
49533567a0
commit
799cb22785
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=59220
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user