From d593a54a21642743da1331ad22aec8f99c28ea49 Mon Sep 17 00:00:00 2001 From: Rudi Heitbaum Date: Mon, 30 Dec 2024 13:34:18 +0000 Subject: [PATCH 1/2] remove unused substitutions for glew.pc.in --- Makefile | 2 -- 1 file changed, 2 deletions(-) diff --git a/Makefile b/Makefile index 0579ccb..cc8bc9c 100644 --- a/Makefile +++ b/Makefile @@ -145,8 +145,6 @@ glew.pc: glew.pc.in sed \ -e "s|@prefix@|$(GLEW_PREFIX)|g" \ -e "s|@libdir@|$(LIBDIR)|g" \ - -e "s|@exec_prefix@|$(BINDIR)|g" \ - -e "s|@includedir@|$(INCDIR)|g" \ -e "s|@version@|$(GLEW_VERSION)|g" \ -e "s|@cflags@||g" \ -e "s|@libname@|$(NAME)|g" \ From a24b6d466001ff2b3fa5679e2be0c428e5d469cd Mon Sep 17 00:00:00 2001 From: Rudi Heitbaum Date: Mon, 30 Dec 2024 13:37:16 +0000 Subject: [PATCH 2/2] use exec_prefix/lib for libdir in glew.pc.in --- Makefile | 1 - glew.pc.in | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index cc8bc9c..6bba4f0 100644 --- a/Makefile +++ b/Makefile @@ -144,7 +144,6 @@ tmp/$(SYSTEM)/default/shared/glew.o: src/glew.c include/GL/glew.h include/GL/wgl glew.pc: glew.pc.in sed \ -e "s|@prefix@|$(GLEW_PREFIX)|g" \ - -e "s|@libdir@|$(LIBDIR)|g" \ -e "s|@version@|$(GLEW_VERSION)|g" \ -e "s|@cflags@||g" \ -e "s|@libname@|$(NAME)|g" \ diff --git a/glew.pc.in b/glew.pc.in index a892540..cb6e4fa 100644 --- a/glew.pc.in +++ b/glew.pc.in @@ -1,6 +1,6 @@ prefix=@prefix@ exec_prefix=${prefix} -libdir=@libdir@ +libdir=${exec_prefix}/lib includedir=${prefix}/include Name: glew