git: c45cca17db22 - main - math/octave-forge-gsl: Fix build error.

From: Stephen Montgomery-Smith <stephen_at_FreeBSD.org>
Date: Sun, 05 Nov 2023 19:33:20 UTC
The branch main has been updated by stephen:

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

commit c45cca17db228351e08a31824d3ef81aa1d65153
Author:     Stephen Montgomery-Smith <stephen@FreeBSD.org>
AuthorDate: 2023-11-05 19:32:28 +0000
Commit:     Stephen Montgomery-Smith <stephen@FreeBSD.org>
CommitDate: 2023-11-05 19:32:28 +0000

    math/octave-forge-gsl: Fix build error.
    
    Reported by:    pkg-fallout@
---
 math/octave-forge-gsl/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/math/octave-forge-gsl/Makefile b/math/octave-forge-gsl/Makefile
index 24ad569b9836..4a3483d1fe3a 100644
--- a/math/octave-forge-gsl/Makefile
+++ b/math/octave-forge-gsl/Makefile
@@ -16,6 +16,8 @@ LIB_DEPENDS=	libgsl.so:math/gsl
 
 USES=		octave
 
+LDFLAGS+=	-L${PREFIX}/lib
+
 GNU_CONFIGURE=	yes
 
 .include <bsd.port.mk>