aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/png
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2006-04-29 09:06:39 +0800
committerache <ache@FreeBSD.org>2006-04-29 09:06:39 +0800
commit606e085e1c035e7d4065f1e85af1acfdb9ea826a (patch)
treea49b83076309b4f851b22d2399ecdace198c266b /graphics/png
parentb67f158ff268e8cc739d729f346a46bcf474887b (diff)
downloadfreebsd-ports-gnome-606e085e1c035e7d4065f1e85af1acfdb9ea826a.tar.gz
freebsd-ports-gnome-606e085e1c035e7d4065f1e85af1acfdb9ea826a.tar.zst
freebsd-ports-gnome-606e085e1c035e7d4065f1e85af1acfdb9ea826a.zip
Whitespace fix for portlint.
Set NO* or NO_* according to ${OSVERSION} PR: 96420 Submitted by: Rong-En Fan <rafan@infor.org>
Diffstat (limited to 'graphics/png')
-rw-r--r--graphics/png/Makefile1
-rw-r--r--graphics/png/files/patch-aa16
2 files changed, 11 insertions, 6 deletions
diff --git a/graphics/png/Makefile b/graphics/png/Makefile
index 6d7cae7ec623..059599edc9ab 100644
--- a/graphics/png/Makefile
+++ b/graphics/png/Makefile
@@ -12,6 +12,7 @@ CATEGORIES= graphics
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 --git a/graphics/png/files/patch-aa b/graphics/png/files/patch-aa
index bab843ac6da9..2bac1cb5f3d2 100644
--- a/graphics/png/files/patch-aa
+++ b/graphics/png/files/patch-aa
@@ -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/*