diff options
author | ache <ache@FreeBSD.org> | 1996-02-20 06:17:46 +0800 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1996-02-20 06:17:46 +0800 |
commit | 06dbc0fa2854aca153812107fc583e713d304908 (patch) | |
tree | aee872be073a9b36279679f6b6b6342a617f916c /graphics/png/files | |
parent | 7d5a0a8bb6106954c0e00498fbfc2f92c0954104 (diff) | |
download | freebsd-ports-graphics-06dbc0fa2854aca153812107fc583e713d304908.tar.gz freebsd-ports-graphics-06dbc0fa2854aca153812107fc583e713d304908.tar.zst freebsd-ports-graphics-06dbc0fa2854aca153812107fc583e713d304908.zip |
Upgrade to 0.88
Diffstat (limited to 'graphics/png/files')
-rw-r--r-- | graphics/png/files/patch-aa | 50 |
1 files changed, 16 insertions, 34 deletions
diff --git a/graphics/png/files/patch-aa b/graphics/png/files/patch-aa index a81a6cbf20d..972448c476d 100644 --- a/graphics/png/files/patch-aa +++ b/graphics/png/files/patch-aa @@ -1,5 +1,5 @@ -*** makefile.old Fri Aug 25 08:09:40 1995 ---- makefile Tue Dec 5 05:26:18 1995 +*** makefile.orig Fri Jan 26 10:38:44 1996 +--- makefile Tue Feb 20 00:55:17 1996 *************** *** 2,27 **** # Copyright (C) 1995 Guy Eric Schalnat, Group 42, Inc. @@ -10,14 +10,14 @@ ! LDFLAGS=-L. -L../zlib/ -lpng -lz -lm #RANLIB=ranlib -- RANLIB=echo +! RANLIB=echo # where make install puts libpng.a and png.h ! prefix=/usr/local OBJS = png.o pngrcb.o pngrutil.o pngtrans.o pngwutil.o \ pngread.o pngio.o pngwrite.o pngrtran.o pngwtran.o \ - pngmem.o pngerror.o + pngmem.o pngerror.o pngpread.o ! all: libpng.a pngtest @@ -28,35 +28,37 @@ pngtest: pngtest.o libpng.a $(CC) -o pngtest $(CCFLAGS) pngtest.o $(LDFLAGS) ---- 2,34 ---- +--- 2,36 ---- # Copyright (C) 1995 Guy Eric Schalnat, Group 42, Inc. # For conditions of distribution and use, see copyright notice in png.h +! VER=0.88 ! #CC=cc ! CFLAGS+=-I/usr/local/include ! LDFLAGS=-L. -L/usr/local/lib -lpng -lz -lm -static #RANLIB=ranlib +! #RANLIB=echo # where make install puts libpng.a and png.h ! prefix=${PREFIX} OBJS = png.o pngrcb.o pngrutil.o pngtrans.o pngwutil.o \ pngread.o pngio.o pngwrite.o pngrtran.o pngwtran.o \ - pngmem.o pngerror.o + pngmem.o pngerror.o pngpread.o ! .SUFFIXES: .c .so .o -! -! .c.so: -! ${CC} -fpic -DPIC ${CFLAGS} -c ${.IMPSRC} -o ${.TARGET} -! -! all: libpng.a libpng.so.0.81 ++ .c.so: ++ ${CC} -fpic -DPIC ${CFLAGS} -c ${.IMPSRC} -o ${.TARGET} ++ ++ all: libpng.a libpng.so.${VER} ++ libpng.a: $(OBJS) ar rc $@ $(OBJS) $(RANLIB) $@ -+ libpng.so.0.81: $(OBJS:S/o$/so/g) ++ libpng.so.${VER}: $(OBJS:S/o$/so/g) + ld -Bshareable -o $@ $(OBJS:S/o$/so/g) + pngtest: pngtest.o libpng.a @@ -76,33 +78,13 @@ clean: rm -f *.o libpng.a pngtest pngout.png ---- 38,46 ---- +--- 40,48 ---- install: libpng.a -@mkdir $(prefix)/include -@mkdir $(prefix)/lib ! ${INSTALL} -c -m 644 -o ${BINOWN} -g ${BINGRP} png.h pngconf.h $(prefix)/include -! ${INSTALL} -c -m 644 -o ${BINOWN} -g ${BINGRP} libpng.a libpng.so.0.81 $(prefix)/lib +! ${INSTALL} -c -m 644 -o ${BINOWN} -g ${BINGRP} libpng.a libpng.so.${VER} $(prefix)/lib ! ranlib $(prefix)/lib/libpng.a clean: rm -f *.o libpng.a pngtest pngout.png -*************** -*** 56,58 **** ---- 60,76 ---- - pngwrite.o: png.h pngconf.h - pngwtran.o: png.h pngconf.h - pngwutil.o: png.h pngconf.h -+ -+ png.so: png.h pngconf.h -+ pngerror.so: png.h pngconf.h -+ pngio.so: png.h pngconf.h -+ pngmem.so: png.h pngconf.h -+ pngrcb.so: png.h pngconf.h -+ pngread.so: png.h pngconf.h -+ pngrtran.so: png.h pngconf.h -+ pngrutil.so: png.h pngconf.h -+ pngtest.so: png.h pngconf.h -+ pngtrans.so: png.h pngconf.h -+ pngwrite.so: png.h pngconf.h -+ pngwtran.so: png.h pngconf.h -+ pngwutil.so: png.h pngconf.h |