diff -ruN --exclude=CVS /usr/ports/graphics/png/Makefile /home/rafan/tmp/ports/png/Makefile --- /usr/ports/graphics/png/Makefile Fri Feb 10 03:43:11 2006 +++ /home/rafan/tmp/ports/png/Makefile Thu Apr 27 23:57:42 2006 @@ -12,6 +12,7 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= lib${PORTNAME} DISTNAME= lib${PORTNAME}-${PORTVERSION} + PATCH_SITES= ${MASTER_SITES} #PATCH_SITE_SUBDIR= ${MASTER_SITE_SUBDIR} #PATCHFILES= diff -ruN --exclude=CVS /usr/ports/graphics/png/files/patch-aa /home/rafan/tmp/ports/png/files/patch-aa --- /usr/ports/graphics/png/files/patch-aa Tue Apr 25 04:19:44 2006 +++ /home/rafan/tmp/ports/png/files/patch-aa Thu Apr 27 23:55:01 2006 @@ -1,13 +1,17 @@ ---- scripts/makefile.freebsd.orig Sat May 18 18:46:45 2002 -+++ scripts/makefile.freebsd Mon Apr 24 17:59:39 2006 -@@ -8,26 +8,26 @@ +--- scripts/makefile.freebsd.orig Sat May 18 22:46:45 2002 ++++ scripts/makefile.freebsd Thu Apr 27 23:54:36 2006 +@@ -8,26 +8,31 @@ LIB= png SHLIB_MAJOR= ${SHLIB_VER} SHLIB_MINOR= 0 --NOPROFILE= YES --NOOBJ= YES ++.if (${OSVERSION} > 600007) +NO_PROFILE= YES +NO_OBJ= YES ++.else + NOPROFILE= YES +-NOOBJ= YES ++NOOBJ= YES ++.endif # where make install puts libpng.a and png.h -DESTDIR= ${PREFIX} @@ -36,7 +40,7 @@ SRCS= png.c pngset.c pngget.c pngrutil.c pngtrans.c pngwutil.c \ pngread.c pngrio.c pngwio.c pngwrite.c pngrtran.c \ -@@ -44,5 +44,23 @@ +@@ -44,5 +49,23 @@ DOCS = ANNOUNCE CHANGES INSTALL KNOWNBUG LICENSE README TODO Y2KINFO writelock: chmod a-w *.[ch35] $(DOCS) scripts/*