ports/sysutils/nut-devel/files/patch-m4_nut__check_libltdl.m4
Cy Schubert d8da18a69c sysutils/nut-devel: Remove GCC requirement.
Remove the GCC requirement by adding -lpthread and removing the
nullification of CFLAGS and LDFLAGS in the M4 script that verifies
we have a working libltdl.
2023-08-01 11:06:52 -07:00

21 lines
496 B
Text

--- m4/nut_check_libltdl.m4.orig 2023-08-01 07:33:24.593954000 -0700
+++ m4/nut_check_libltdl.m4 2023-08-01 07:35:18.506094000 -0700
@@ -10,10 +10,7 @@
dnl No NUT_CHECK_PKGCONFIG here: (lib)ltdl.pc was not seen on any OS
dnl save CFLAGS and LIBS
- CFLAGS_ORIG="${CFLAGS}"
- LIBS_ORIG="${LIBS}"
LIBS=""
- CFLAGS=""
dnl For fallback below:
myCFLAGS=""
@@ -71,7 +68,5 @@
unset myCFLAGS
dnl restore original CFLAGS and LIBS
- CFLAGS="${CFLAGS_ORIG}"
- LIBS="${LIBS_ORIG}"
fi
])