summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Zander <riggs@FreeBSD.org>2015-12-27 17:58:17 +0000
committerThomas Zander <riggs@FreeBSD.org>2015-12-27 17:58:17 +0000
commitd905a1db142e41d59fb3ab423926821236c98286 (patch)
tree7dcfc12d9015d93d09926d34d97c2a2f69cf6ea6
parentUpdate ice ports to 3.6.1 and switch to new unit test framework. (diff)
Switch to USES=execinfo
PR: 205618 Submitted by: pawel
-rw-r--r--multimedia/avidemux/Makefile.common5
1 files changed, 2 insertions, 3 deletions
diff --git a/multimedia/avidemux/Makefile.common b/multimedia/avidemux/Makefile.common
index b3f8f1ad3678..fcf3fd5f7592 100644
--- a/multimedia/avidemux/Makefile.common
+++ b/multimedia/avidemux/Makefile.common
@@ -20,7 +20,7 @@ OPTIONS_FILE= ${PORT_DBDIR}/${OPTIONS_NAME:C/-.*//}/options
USE_SQLITE= yes
USES= cmake:outsource pkgconfig iconv gmake compiler:features
-USES+= dos2unix
+USES+= dos2unix execinfo
DOS2UNIX_FILES= cmake/admCheckMiscLibs.cmake po/CMakeLists.txt
CMAKE_ARGS+= -DGNUMAKE_EXECUTABLE=gmake
CMAKE_ARGS+= -DAVIDEMUX_PACKAGER=none
@@ -76,8 +76,7 @@ CFLAGS+= -fno-omit-frame-pointer
#MAKE_ENV+= ARCH=x86_64
#CONFIGURE_ENV+= ARCH=x86_64
.endif
-.if ${OSVERSION} < 1000000
-LIB_DEPENDS+= libexecinfo.so:${PORTSDIR}/devel/libexecinfo
+.if !exists(/usr/lib/libexecinfo.so)
CMAKE_ARGS+= -DLIBEXECINFO_INCLUDE_DIR=${LOCALBASE}/include
CMAKE_ARGS+= -DLIBEXECINFO_LIBRARY_DIR=${LOCALBASE}/lib/libexecinfo.so
.else