aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/png/files
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2004-10-21 03:12:44 +0800
committerache <ache@FreeBSD.org>2004-10-21 03:12:44 +0800
commit31c60bf8837df48b03856e7e569f24a956cd634b (patch)
treebf43c4e12064659b83643f234540a9c4c572ce84 /graphics/png/files
parent0dfc44797bfd354755bd5a8254d3efd8e97ee3e3 (diff)
downloadfreebsd-ports-gnome-31c60bf8837df48b03856e7e569f24a956cd634b.tar.gz
freebsd-ports-gnome-31c60bf8837df48b03856e7e569f24a956cd634b.tar.zst
freebsd-ports-gnome-31c60bf8837df48b03856e7e569f24a956cd634b.zip
Back out dynamic linking of pngtest, cause problems with LD_LIBRARY_PATH
and other LD_ tuning. PR: 72856
Diffstat (limited to 'graphics/png/files')
-rw-r--r--graphics/png/files/patch-aa14
1 files 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
-