aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2000-05-31 18:01:02 +0800
committersobomax <sobomax@FreeBSD.org>2000-05-31 18:01:02 +0800
commit9753ca475b0d8b044a1346ba85825b552a432102 (patch)
tree356c89f639efe2a07fac8b6cba7cff0d7dcae57f
parent802c10b1b5594bd625b35ec7a57bdf1e5932fdcc (diff)
downloadfreebsd-ports-gnome-9753ca475b0d8b044a1346ba85825b552a432102.tar.gz
freebsd-ports-gnome-9753ca475b0d8b044a1346ba85825b552a432102.tar.zst
freebsd-ports-gnome-9753ca475b0d8b044a1346ba85825b552a432102.zip
Support FreeBSD install macros.
PR: 18905 Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
-rw-r--r--graphics/png/files/patch-aa10
1 files 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