aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.port.subdir.mk
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2008-03-12 07:45:04 +0800
committerpav <pav@FreeBSD.org>2008-03-12 07:45:04 +0800
commitedf3677cf9c15fb6cf588b45aabbf9f1d1e934e3 (patch)
tree825c8431f6b9e0affda5b0e73b0a19203c0012a3 /Mk/bsd.port.subdir.mk
parent7956cd3d329e40c3dc37de044b15f2bb60840689 (diff)
downloadfreebsd-ports-gnome-edf3677cf9c15fb6cf588b45aabbf9f1d1e934e3.tar.gz
freebsd-ports-gnome-edf3677cf9c15fb6cf588b45aabbf9f1d1e934e3.tar.zst
freebsd-ports-gnome-edf3677cf9c15fb6cf588b45aabbf9f1d1e934e3.zip
- Automatically append -fno-strict-aliasing to CFLAGS when -O2 or higher
optimizations are enabled. PR: ports/121363 Submitted by: obrien - Change USE_XPM variable to use USE_XORG framework, and lose implied USE_XLIB PR: ports/113799 Submitted by: des (based on) Patch by: pav - Teach USE_LDCONFIG to do the right thing when used with USE_LINUX_PREFIX PR: ports/118212 Original patch: vd Patch by: pav - Allow tab as well as space in param.h for OSVERSION determination PR: ports/117507 Submitted by: erwin - Reverse the condition so EXTRACT_PRESERVE_OWNERSHIP now work as advertised PR: ports/117916 Submitted by: tobez - Assorted comment fixes PR: ports/118054 Submitted by: linimon - Style nit ($@ -> ${.TARGET}) PR: ports/120276 Submitted by: obrien
Diffstat (limited to 'Mk/bsd.port.subdir.mk')
-rw-r--r--Mk/bsd.port.subdir.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mk/bsd.port.subdir.mk b/Mk/bsd.port.subdir.mk
index 40d0dac65ca7..7b14c24e5fdf 100644
--- a/Mk/bsd.port.subdir.mk
+++ b/Mk/bsd.port.subdir.mk
@@ -72,9 +72,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