termux-packages/packages/gnucap/apps-Make1.patch

14 lines
692 B
Diff
Raw Normal View History

2021-09-12 16:07:52 +02:00
--- ./apps/Make1.orig 2021-09-12 13:58:56.131980584 +0000
+++ ./apps/Make1 2021-09-12 13:59:54.468571515 +0000
2019-01-25 23:45:29 +01:00
@@ -119,8 +119,8 @@
MAINTAINERCLEANFILES = $(DISTCLEANFILES)
#------------------------------------------------------------------------
#------------------------------------------------------------------------
2021-09-12 16:07:52 +02:00
-LIBPATH = `pwd | sed 's/\(.*\)apps/\1lib/'`
-MODELGEN = `pwd | sed 's/\(.*\)apps/\1modelgen/'`/gnucap-modelgen
2019-01-25 23:45:29 +01:00
+LIBPATH = @TERMUX_PKG_HOSTBUILD_DIR@/lib/O
+MODELGEN = @TERMUX_PKG_HOSTBUILD_DIR@/modelgen/O/gnucap-modelgen
#------------------------------------------------------------------------
%.h : %.model
(export LD_LIBRARY_PATH=$(LIBPATH); $(MODELGEN) -h $<)