diff options
Diffstat (limited to 'graphics/png/files')
-rw-r--r-- | graphics/png/files/patch-aa | 67 |
1 files changed, 36 insertions, 31 deletions
diff --git a/graphics/png/files/patch-aa b/graphics/png/files/patch-aa index e4dd738597fb..2a95ec304711 100644 --- a/graphics/png/files/patch-aa +++ b/graphics/png/files/patch-aa @@ -1,7 +1,13 @@ -*** scripts/makefile.std.orig Wed Apr 1 04:49:34 1998 ---- scripts/makefile.std Fri Jul 10 03:34:22 1998 +*** scripts/makefile.std.orig Fri Jul 31 17:15:22 1998 +--- scripts/makefile.std Tue Jan 19 15:53:48 1999 *************** -*** 5,33 **** +*** 2,19 **** + # Copyright (C) 1995 Guy Eric Schalnat, Group 42, Inc. + # For conditions of distribution and use, see copyright notice in png.h + + # where make install puts libpng.a and png.h +! prefix=/usr/local + # Where the zlib library and include files are located #ZLIBLIB=/usr/local/lib #ZLIBINC=/usr/local/include @@ -14,24 +20,23 @@ #RANLIB=echo RANLIB=ranlib +--- 2,29 ---- + # Copyright (C) 1995 Guy Eric Schalnat, Group 42, Inc. + # For conditions of distribution and use, see copyright notice in png.h ++ # read libpng.txt or png.h to see why PNGMAJ is 2. You should not ++ # have to change it. ++ PNGMAJ = 2 ++ .if (${PORTOBJFORMAT} == "elf") ++ PNGVER = $(PNGMAJ) ++ .else ++ PNGMIN = 1 ++ PNGVER = $(PNGMAJ).$(PNGMIN) ++ .endif ++ # where make install puts libpng.a and png.h -! prefix=/usr/local - - OBJS = png.o pngset.o pngget.o pngrutil.o pngtrans.o pngwutil.o \ - pngread.o pngrio.o pngwio.o pngwrite.o pngrtran.o \ - pngwtran.o pngmem.o pngerror.o pngpread.o - -! all: libpng.a pngtest - - libpng.a: $(OBJS) - ar rc $@ $(OBJS) - $(RANLIB) $@ - - pngtest: pngtest.o libpng.a - $(CC) -o pngtest $(CFLAGS) pngtest.o $(LDFLAGS) +! prefix=${PREFIX} ---- 5,55 ---- # Where the zlib library and include files are located #ZLIBLIB=/usr/local/lib #ZLIBINC=/usr/local/include @@ -44,21 +49,21 @@ #RANLIB=echo RANLIB=ranlib +*************** +*** 22,33 **** + pngread.o pngrio.o pngwio.o pngwrite.o pngrtran.o \ + pngwtran.o pngmem.o pngerror.o pngpread.o -+ # read libpng.txt or png.h to see why PNGMAJ is 2. You should not -+ # have to change it. -+ PNGMAJ = 2 -+ .if (${PORTOBJFORMAT} == "elf") -+ PNGVER = $(PNGMAJ) -+ .else -+ PNGMIN = 1 -+ PNGVER = $(PNGMAJ).$(PNGMIN) -+ .endif -+ - # where make install puts libpng.a and png.h -! prefix=${PREFIX} +! all: libpng.a pngtest + + libpng.a: $(OBJS) + ar rc $@ $(OBJS) + $(RANLIB) $@ + + pngtest: pngtest.o libpng.a + $(CC) -o pngtest $(CFLAGS) pngtest.o $(LDFLAGS) - OBJS = png.o pngset.o pngget.o pngrutil.o pngtrans.o pngwutil.o \ +--- 32,55 ---- pngread.o pngrio.o pngwio.o pngwrite.o pngrtran.o \ pngwtran.o pngmem.o pngerror.o pngpread.o |