1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

Get rid of grep errors when liba52 hasn't been installed yet

Submitted by:	fenner
Requested by:	kris
This commit is contained in:
Mario Sergio Fujikawa Ferreira 2002-05-18 22:36:14 +00:00
parent 59435253d3
commit d72780928d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=59446
2 changed files with 8 additions and 0 deletions

View File

@ -59,7 +59,11 @@ post-install:
.include <bsd.port.pre.mk>
# hack to make ogle work with liba52 + djbfft
.if exists(${LOCALBASE}/lib/liba52.la)
LIBA52_DEP_LIBS!= ${GREP} dependency_libs ${LOCALBASE}/lib/liba52.la | ${CUT} -d \' -f 2
.else
LIBA52_DEP_LIBS= -L${LOCALBASE}/lib -ldjbfft -lm
.endif
.if ${ARCH} == "i386"
. if (defined(MACHINE_CPU) && ${MACHINE_CPU:Mi486} == "i486")

View File

@ -59,7 +59,11 @@ post-install:
.include <bsd.port.pre.mk>
# hack to make ogle work with liba52 + djbfft
.if exists(${LOCALBASE}/lib/liba52.la)
LIBA52_DEP_LIBS!= ${GREP} dependency_libs ${LOCALBASE}/lib/liba52.la | ${CUT} -d \' -f 2
.else
LIBA52_DEP_LIBS= -L${LOCALBASE}/lib -ldjbfft -lm
.endif
.if ${ARCH} == "i386"
. if (defined(MACHINE_CPU) && ${MACHINE_CPU:Mi486} == "i486")