aboutsummaryrefslogtreecommitdiff
path: root/multimedia/ogle
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-05-18 22:36:14 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-05-18 22:36:14 +0000
commitd72780928d9b6f97e24810173233217da1a2063d (patch)
treeb2ac807f50674ba85a42a50e82d4b92757541877 /multimedia/ogle
parent59435253d3628182cff94986a8481f82e193bf56 (diff)
downloadports-d72780928d9b6f97e24810173233217da1a2063d.tar.gz
ports-d72780928d9b6f97e24810173233217da1a2063d.zip
Get rid of grep errors when liba52 hasn't been installed yet
Submitted by: fenner Requested by: kris
Notes
Notes: svn path=/head/; revision=59446
Diffstat (limited to 'multimedia/ogle')
-rw-r--r--multimedia/ogle/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/multimedia/ogle/Makefile b/multimedia/ogle/Makefile
index 962f5c4aae86..9912beb7dd63 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")