Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Jul 2023 17:55:40 GMT
From:      Daniel Engberg <diizzy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 17c30e448be3 - main - audio/a2jmidid: Fix shebang and disable predefined optimization
Message-ID:  <202307051755.365Htete048931@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by diizzy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=17c30e448be37877c283b2e1cb17936746eb7232

commit 17c30e448be37877c283b2e1cb17936746eb7232
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2023-07-05 17:45:25 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2023-07-05 17:45:31 +0000

    audio/a2jmidid: Fix shebang and disable predefined optimization
    
    * Fix shebang in a2j_control
    * Disable optimization set by upstream
    
    Approved by:    portmgr (blanket)
---
 audio/a2jmidid/Makefile                |  3 ++-
 audio/a2jmidid/files/patch-meson.build | 16 +++++++++++++---
 2 files changed, 15 insertions(+), 4 deletions(-)

diff --git a/audio/a2jmidid/Makefile b/audio/a2jmidid/Makefile
index 6eaa38e7b771..fa6d8eebf2d5 100644
--- a/audio/a2jmidid/Makefile
+++ b/audio/a2jmidid/Makefile
@@ -12,7 +12,8 @@ LICENSE=	GPLv2+
 LIB_DEPENDS=	libasound.so:audio/alsa-lib \
 		libjack.so:audio/jack
 
-USES=		meson pkgconfig tar:bzip2 uidfix
+USES=		meson pkgconfig python:env shebangfix tar:bzip2 uidfix
+SHEBANG_FILES=	a2j_control
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	jackaudio
diff --git a/audio/a2jmidid/files/patch-meson.build b/audio/a2jmidid/files/patch-meson.build
index 0365fdbf790a..3402e5fdff4e 100644
--- a/audio/a2jmidid/files/patch-meson.build
+++ b/audio/a2jmidid/files/patch-meson.build
@@ -1,6 +1,16 @@
---- meson.build.orig	2022-02-11 10:51:29 UTC
+--- meson.build.orig	2019-09-23 22:34:12 UTC
 +++ meson.build
-@@ -17,6 +17,7 @@ dep_jack = dependency('jack')
+@@ -3,8 +3,7 @@ project(
+   'c',
+   default_options: [
+     'prefix=/usr/local',
+-    'b_pie=true',
+-    'b_lto=true'
++    'b_pie=true'
+   ],
+   meson_version: '>=0.50.0',
+   license: 'GPL2+',
+@@ -17,6 +16,7 @@ dep_jack = dependency('jack')
  dep_alsa = dependency('alsa')
  lib_dl = cc.find_library('dl')
  lib_pthread = cc.find_library('pthread')
@@ -8,7 +18,7 @@
  deps_a2jmidid = [dep_alsa, dep_jack, lib_dl, lib_pthread]
  
  # source definitions
-@@ -50,6 +51,7 @@ if get_option('disable-dbus')
+@@ -50,6 +50,7 @@ if get_option('disable-dbus')
  else
    dep_dbus = dependency('dbus-1')
    deps_a2jmidid += [dep_dbus]



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202307051755.365Htete048931>