aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2002-05-19 06:36:14 +0800
committerlioux <lioux@FreeBSD.org>2002-05-19 06:36:14 +0800
commit8d6c2fbcee46c129660ca03227ea788398917034 (patch)
tree4025e7ed34d27cd9cca07ed83f2f4131c100bccf /multimedia
parent87c1669a107a202b82ca7cff59323a852c15bf98 (diff)
downloadfreebsd-ports-graphics-8d6c2fbcee46c129660ca03227ea788398917034.tar.gz
freebsd-ports-graphics-8d6c2fbcee46c129660ca03227ea788398917034.tar.zst
freebsd-ports-graphics-8d6c2fbcee46c129660ca03227ea788398917034.zip
Get rid of grep errors when liba52 hasn't been installed yet
Submitted by: fenner Requested by: kris
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/ogle/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/multimedia/ogle/Makefile b/multimedia/ogle/Makefile
index 962f5c4aae8..9912beb7dd6 100644
--- a/multimedia/ogle/Makefile
+++ b/multimedia/ogle/Makefile
@@ -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")