summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--graphics/ogle/Makefile4
-rw-r--r--multimedia/ogle/Makefile4
2 files changed, 8 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")
diff --git a/multimedia/ogle/Makefile b/multimedia/ogle/Makefile
index 962f5c4a..9912beb 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")
OpenPOWER on IntegriCloud