Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jan 2024 01:46:51 GMT
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 8519e04b95d4 - main - devel/hyprlang: unbreak pkg-config --cflags
Message-ID:  <202401040146.4041kpeh041037@gitrepo.freebsd.org>

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=8519e04b95d496ba958e624e3fb8812f5facd7f1

commit 8519e04b95d496ba958e624e3fb8812f5facd7f1
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2024-01-04 01:42:54 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-01-04 01:45:55 +0000

    devel/hyprlang: unbreak pkg-config --cflags
    
    $ pkg-config --cflags hyprlang
    -I
---
 devel/hyprlang/Makefile                   |  1 +
 devel/hyprlang/files/patch-CMakeLists.txt | 13 ++++++++++++-
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/devel/hyprlang/Makefile b/devel/hyprlang/Makefile
index 47aa69b95daa..ce8b7557ccc5 100644
--- a/devel/hyprlang/Makefile
+++ b/devel/hyprlang/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	hyprlang
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.2.1
+PORTREVISION=	1
 CATEGORIES=	devel
 
 MAINTAINER=	jbeich@FreeBSD.org
diff --git a/devel/hyprlang/files/patch-CMakeLists.txt b/devel/hyprlang/files/patch-CMakeLists.txt
index c19bc08bf1dc..c4b6e2e698e6 100644
--- a/devel/hyprlang/files/patch-CMakeLists.txt
+++ b/devel/hyprlang/files/patch-CMakeLists.txt
@@ -1,9 +1,20 @@
 https://github.com/hyprwm/hyprlang/issues/6
 https://github.com/hyprwm/hyprlang/issues/7
+https://github.com/hyprwm/hyprlang/issues/11
 
 --- CMakeLists.txt.orig	2024-01-02 22:10:42 UTC
 +++ CMakeLists.txt
-@@ -31,16 +31,16 @@ target_link_libraries(hyprlang_test PRIVATE hyprlang)
+@@ -2,7 +2,8 @@ set(PREFIX ${CMAKE_INSTALL_PREFIX})
+ 
+ set(HYPRLANG_VERSION "0.2.1")
+ set(PREFIX ${CMAKE_INSTALL_PREFIX})
+-set(INCLUDE ${CMAKE_INSTALL_INCLUDEDIR})
++include(GNUInstallDirs)
++set(INCLUDE ${CMAKE_INSTALL_FULL_INCLUDEDIR})
+ 
+ project(hyprlang
+     VERSION ${HYPRLANG_VERSION}
+@@ -31,16 +32,16 @@ target_link_libraries(hyprlang_test PRIVATE hyprlang)
  
  add_executable(hyprlang_test "tests/parse/main.cpp")
  target_link_libraries(hyprlang_test PRIVATE hyprlang)



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