aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2008-04-12 06:42:12 +0800
committerlinimon <linimon@FreeBSD.org>2008-04-12 06:42:12 +0800
commit7b1b77ea92429cefcb2449c8ed19e75b41b340e6 (patch)
treee1b0cda3059ebc712fd15d8df3822ed74861b5ed
parent9c07ee447b18958a446ae4e8fbcafbb35ae93bdc (diff)
downloadfreebsd-ports-gnome-7b1b77ea92429cefcb2449c8ed19e75b41b340e6.tar.gz
freebsd-ports-gnome-7b1b77ea92429cefcb2449c8ed19e75b41b340e6.tar.zst
freebsd-ports-gnome-7b1b77ea92429cefcb2449c8ed19e75b41b340e6.zip
Catch up to master 1.73 and 1.74 changes.
-rw-r--r--ports-mgmt/portmk/Mk/bsd.port.subdir.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/ports-mgmt/portmk/Mk/bsd.port.subdir.mk b/ports-mgmt/portmk/Mk/bsd.port.subdir.mk
index e2db90df3197..057bc5e83001 100644
--- a/ports-mgmt/portmk/Mk/bsd.port.subdir.mk
+++ b/ports-mgmt/portmk/Mk/bsd.port.subdir.mk
@@ -77,9 +77,9 @@ OSREL!= ${UNAME} -r | ${SED} -e 's/[-(].*//'
.endif
.if !defined(OSVERSION)
.if exists(/usr/include/sys/param.h)
-OSVERSION!= ${AWK} '/^\#define __FreeBSD_version/ {print $$3}' < /usr/include/sys/param.h
+OSVERSION!= ${AWK} '/^\#define[[:blank:]]__FreeBSD_version/ {print $$3}' < /usr/include/sys/param.h
.elif exists(/usr/src/sys/sys/param.h)
-OSVERSION!= ${AWK} '/^\#define __FreeBSD_version/ {print $$3}' < /usr/src/sys/sys/param.h
+OSVERSION!= ${AWK} '/^\#define[[:blank:]]__FreeBSD_version/ {print $$3}' < /usr/src/sys/sys/param.h
.else
OSVERSION!= ${SYSCTL} -n kern.osreldate
.endif
@@ -260,7 +260,7 @@ describe:
.if defined(PORTSTOP)
readmes: readme ${SUBDIR:S/^/_/:S/$/.readmes/}
@${ECHO_MSG} "===> Creating README.html for all ports"
- @${PERL} ${PORTSDIR}/Tools/make_readmes < ${INDEXDIR}/${INDEXFILE}
+ @perl ${PORTSDIR}/Tools/make_readmes < ${INDEXDIR}/${INDEXFILE}
.else
readmes: readme
.endif