From f617b864a679da3d6ed0f023d8df3f9e0e9a661a Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Wed, 20 Oct 2004 19:12:44 +0000 Subject: [PATCH] Back out dynamic linking of pngtest, cause problems with LD_LIBRARY_PATH and other LD_ tuning. PR: 72856 --- graphics/png/files/patch-aa | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/graphics/png/files/patch-aa b/graphics/png/files/patch-aa index e676e57368a7..5189c653c043 100644 --- a/graphics/png/files/patch-aa +++ b/graphics/png/files/patch-aa @@ -1,5 +1,5 @@ ---- scripts/makefile.freebsd Sat May 18 10:46:45 2002 -+++ scripts/makefile.freebsd Mon Oct 20 00:05:40 2003 +--- scripts/makefile.freebsd.orig Sat May 18 18:46:45 2002 ++++ scripts/makefile.freebsd Wed Oct 20 23:06:52 2004 @@ -25,7 +25,7 @@ DPADD+= ${LIBM} ${LIBZ} @@ -9,13 +9,3 @@ CFLAGS+= -DPNG_NO_ASSEMBLER_CODE .endif -@@ -34,7 +34,7 @@ - pngwtran.c pngmem.c pngerror.c pngpread.c pnggccrd.c - --pngtest: pngtest.o libpng.a -+pngtest: pngtest.o ${SHLIB_NAME} -- ${CC} ${CFLAGS} -L. -static -o pngtest pngtest.o -lpng -lz -lm -+ ${CC} ${CFLAGS} -L. -Wl,-rpath=${.OBJDIR} -o pngtest pngtest.o -lpng -lz -lm - - CLEANFILES= pngtest pngtest.o pngout.png -