pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

(ham/wsjtx) Introduce PKG_OPTION.fftw-fortran check, thanks Atsushi Toyokura



Module Name:	pkgsrc-wip
Committed By:	Makoto mef20 Fujiwara <makoto%if.t.u-tokyo.ac.jp@localhost>
Pushed By:	mef
Date:		Mon Jan 27 11:38:11 2025 +0900
Changeset:	feee2a4709375ec5ab028b33e09dfbae02427689

Modified Files:
	wsjtx/Makefile

Log Message:
(ham/wsjtx) Introduce PKG_OPTION.fftw-fortran check, thanks Atsushi Toyokura

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=feee2a4709375ec5ab028b33e09dfbae02427689

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 wsjtx/Makefile | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diffs:
diff --git a/wsjtx/Makefile b/wsjtx/Makefile
index 7ffdff39b2..17038d9d2f 100644
--- a/wsjtx/Makefile
+++ b/wsjtx/Makefile
@@ -18,10 +18,6 @@ USE_LANGUAGES+=	c c++ fortran
 USE_TOOLS+=	pkg-config gmake tar
 USE_LIBTOOL=	yes
 
-#.if empty(PKG_BUILD_OPTIONS.fftw:Mfftw-fortran)
-# PKG_FAIL_REASON+=      'You need to set PKG_OPTIONS.fftw:Mfftw-fortran, at its compile time.'
-#.endif
-
 .include "../../mk/bsd.prefs.mk"
 
 .if ${OPSYS} == "NetBSD"
@@ -71,6 +67,11 @@ SUBST_MESSAGE.hamlib=	fix PREFIX inside patch
 SUBST_VARS.hamlib=	PREFIX
 
 .include "../../devel/cmake/build.mk"
+.include "../../math/fftw/buildlink3.mk"
+.if empty(PKG_BUILD_OPTIONS.fftw:Mfftw-fortran)
+PKG_FAIL_REASON+=      'You need to set PKG_OPTIONS.fftw:Mfftw-fortran, at its compile time.'
+.endif
+
 .include "../../graphics/openexr/buildlink3.mk"
 .include "../../graphics/png/buildlink3.mk"
 .include "../../x11/qt5-qtbase/buildlink3.mk"
@@ -84,7 +85,6 @@ SUBST_VARS.hamlib=	PREFIX
 .include "../../devel/readline/buildlink3.mk"
 .include "../../devel/boost-headers/buildlink3.mk"
 .include "../../devel/boost-libs/buildlink3.mk"
-.include "../../math/fftw/buildlink3.mk"
 .include "../../mk/libusb.buildlink3.mk"
 BUILDLINK_API_DEPENDS.hamlib+=	hamlib>=4.1
 .include "../../ham/hamlib/buildlink3.mk"


Home | Main Index | Thread Index | Old Index