From 4e5916d17d69e79b1b2fd27032fd8bdd7b996b23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Van=20Canneyt?= Date: Sun, 1 May 2022 14:00:26 +0200 Subject: [PATCH] * Add libnettle into build --- packages/fpmake_add.inc | 1 + packages/fpmake_proc.inc | 6 ++++++ packages/libnettle/fpmake.pp | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/packages/fpmake_add.inc b/packages/fpmake_add.inc index 2b71b44c23..a2fa40d4d8 100644 --- a/packages/fpmake_add.inc +++ b/packages/fpmake_add.inc @@ -43,6 +43,7 @@ add_gdbm(ADirectory+IncludeTrailingPathDelimiter('gdbm')); add_ggi(ADirectory+IncludeTrailingPathDelimiter('ggi')); add_gmp(ADirectory+IncludeTrailingPathDelimiter('gmp')); + add_libnettle(ADirectory+IncludeTrailingPathDelimiter('libnettle')); add_gnome1(ADirectory+IncludeTrailingPathDelimiter('gnome1')); add_graph(ADirectory+IncludeTrailingPathDelimiter('graph')); add_gtk1(ADirectory+IncludeTrailingPathDelimiter('gtk1')); diff --git a/packages/fpmake_proc.inc b/packages/fpmake_proc.inc index 596b951823..d13f5d7d17 100644 --- a/packages/fpmake_proc.inc +++ b/packages/fpmake_proc.inc @@ -250,6 +250,12 @@ begin {$include gmp/fpmake.pp} end; +procedure add_libnettle(const ADirectory: string); +begin + with Installer do +{$include libnettle/fpmake.pp} +end; + procedure add_gnome1(const ADirectory: string); begin with Installer do diff --git a/packages/libnettle/fpmake.pp b/packages/libnettle/fpmake.pp index f1a3285bed..171913b14f 100644 --- a/packages/libnettle/fpmake.pp +++ b/packages/libnettle/fpmake.pp @@ -26,7 +26,7 @@ begin P.Email := ''; P.Description := 'LibNettle is the interface to GNU nettle, a C library that implements gryptography'; P.NeedLibC:= false; - P.OSes := [freebsd,darwin,iphonesim,ios,linux,win32,aix]; + P.OSes := [linux,win32]; P.SourcePath.Add('src');