head 1.1; access; symbols; locks; strict; comment @# @; 1.1 date 2026.09.26.12.54.51; author tnn; state Exp; branches; next ; commitid zFAqQfiSwFAWc8XG; desc @@ 1.1 log @lang/openjdk25: import openjdk25-1.25.0.4.7 Open-source implementation of the Java Platform, Standard Edition. This package provides OpenJDK 25 LTS. @ text @$NetBSD: patch-make_autoconf_lib-alsa.m4,v 1.1 2023/11/22 14:06:50 ryoon Exp $ * Fix RPATH for libasound.so. These should use COMPILER_RPATH_FLAG. --- make/autoconf/lib-alsa.m4.orig 2021-04-24 02:47:22.000000000 +0000 +++ make/autoconf/lib-alsa.m4 @@@@ -52,7 +52,7 @@@@ AC_DEFUN_ONCE([LIB_SETUP_ALSA], fi if test "x${with_alsa}" != x; then - ALSA_LIBS="-L${with_alsa}/lib -lasound" + ALSA_LIBS="-L${with_alsa}/lib -Wl,-rpath,${with_alsa}/lib -lasound" ALSA_CFLAGS="-I${with_alsa}/include" ALSA_FOUND=yes fi @@@@ -61,7 +61,7 @@@@ AC_DEFUN_ONCE([LIB_SETUP_ALSA], ALSA_FOUND=yes fi if test "x${with_alsa_lib}" != x; then - ALSA_LIBS="-L${with_alsa_lib} -lasound" + ALSA_LIBS="-L${with_alsa_lib} -Wl,-rpath,${with_alsa}/lib -lasound" ALSA_FOUND=yes fi # Do not try pkg-config if we have a sysroot set. @