1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00

Whitespace fix for portlint.

Set NO* or NO_* according to ${OSVERSION}

PR:             96420
Submitted by:   Rong-En Fan <rafan@infor.org>
This commit is contained in:
Andrey A. Chernov 2006-04-29 01:06:39 +00:00
parent 1319015095
commit 59825e0c59
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=160709
2 changed files with 11 additions and 6 deletions

View File

@ -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=

View File

@ -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/*