From 9753ca475b0d8b044a1346ba85825b552a432102 Mon Sep 17 00:00:00 2001 From: sobomax Date: Wed, 31 May 2000 10:01:02 +0000 Subject: Support FreeBSD install macros. PR: 18905 Submitted by: KATO Tsuguru --- graphics/png/files/patch-aa | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/graphics/png/files/patch-aa b/graphics/png/files/patch-aa index 8a4ff547b12b..d7002498835e 100644 --- a/graphics/png/files/patch-aa +++ b/graphics/png/files/patch-aa @@ -45,7 +45,7 @@ +.SUFFIXES: .c .so .o + +.c.so: -+ ${CC} -fpic -DPIC ${CFLAGS} -c ${.IMPSRC} -o ${.TARGET} ++ ${CC} ${CFLAGS} -fPIC -DPIC -o $@ -c $< + +all: libpng.a libpng.so.${PNGVER} @@ -73,12 +73,12 @@ - chmod 644 $(prefix)/include/pngconf.h - cp libpng.a $(prefix)/lib - chmod 644 $(prefix)/lib/libpng.a -+ ${INSTALL} -c -m ${BINMODE} -o ${BINOWN} -g ${BINGRP} png.h pngconf.h $(prefix)/include -+ ${INSTALL} -c -m ${BINMODE} -o ${BINOWN} -g ${BINGRP} libpng.a libpng.so.${PNGVER} $(prefix)/lib ++ ${BSD_INSTALL_DATA} png.h pngconf.h $(prefix)/include ++ ${BSD_INSTALL_DATA} libpng.a libpng.so.${PNGVER} $(prefix)/lib + ln -sf libpng.so.${PNGVER} $(prefix)/lib/libpng.so + ranlib $(prefix)/lib/libpng.a -+ ${INSTALL} -c -m ${MANMODE} -o ${MANOWN} -g ${MANGRP} libpng.3 libpngpf.3 $(prefix)/man/man3 -+ ${INSTALL} -c -m ${MANMODE} -o ${MANOWN} -g ${MANGRP} png.5 $(prefix)/man/man5 ++ ${BSD_INSTALL_MAN} libpng.3 libpngpf.3 $(prefix)/man/man3 ++ ${BSD_INSTALL_MAN} png.5 $(prefix)/man/man5 clean: rm -f *.o libpng.a pngtest pngout.png -- cgit