View | Details | Raw Unified | Return to bug 96420
Collapse All | Expand All

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

Return to bug 96420