diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2002-05-18 22:36:14 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2002-05-18 22:36:14 +0000 |
commit | d72780928d9b6f97e24810173233217da1a2063d (patch) | |
tree | b2ac807f50674ba85a42a50e82d4b92757541877 | |
parent | Forced commit. Previous commit was: (diff) |
Get rid of grep errors when liba52 hasn't been installed yet
Submitted by: fenner
Requested by: kris
-rw-r--r-- | graphics/ogle/Makefile | 4 | ||||
-rw-r--r-- | multimedia/ogle/Makefile | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/graphics/ogle/Makefile b/graphics/ogle/Makefile index 962f5c4aae86..9912beb7dd63 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") 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") |