diff options
author | lioux <lioux@FreeBSD.org> | 2002-05-18 22:36:14 +0000 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2002-05-18 22:36:14 +0000 |
commit | 8d6c2fbcee46c129660ca03227ea788398917034 (patch) | |
tree | 4025e7ed34d27cd9cca07ed83f2f4131c100bccf /graphics/ogle | |
parent | 87c1669a107a202b82ca7cff59323a852c15bf98 (diff) | |
download | FreeBSD-ports-8d6c2fbcee46c129660ca03227ea788398917034.zip FreeBSD-ports-8d6c2fbcee46c129660ca03227ea788398917034.tar.gz |
Get rid of grep errors when liba52 hasn't been installed yet
Submitted by: fenner
Requested by: kris
Diffstat (limited to 'graphics/ogle')
-rw-r--r-- | graphics/ogle/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/graphics/ogle/Makefile b/graphics/ogle/Makefile index 962f5c4a..9912beb 100644 --- a/graphics/ogle/Makefile +++ b/graphics/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") |