diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2008-07-24 21:55:47 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2008-07-24 21:55:47 +0000 |
commit | ed7666e6631d6a3935f1ff8cb9163439e1ad4451 (patch) | |
tree | 8bb0bc0927d0e13c8d182db0ecf46498bd5e90d6 /Mk/bsd.port.mk | |
parent | 801c0113ea4afb0d3d75aa993f748e0ba31e9d0f (diff) | |
download | ports-ed7666e6631d6a3935f1ff8cb9163439e1ad4451.tar.gz ports-ed7666e6631d6a3935f1ff8cb9163439e1ad4451.zip |
Notes
Diffstat (limited to 'Mk/bsd.port.mk')
-rw-r--r-- | Mk/bsd.port.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index ed54092c6013..7c1750f0beb2 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -1580,6 +1580,10 @@ PLIST_REINPLACE_DIRRMTRY=s!^@dirrmtry \(.*\)!@unexec rmdir %D/\1 2>/dev/null || PLIST_REINPLACE_RMTRY=s!^@rmtry \(.*\)!@unexec rm -f %D/\1 2>/dev/null || true! PLIST_REINPLACE_STOPDAEMON=s!^@stopdaemon \(.*\)!@unexec %D/etc/rc.d/\1${RC_SUBR_SUFFIX} forcestop 2>/dev/null || true! +# kludge to strip trailing whitespace from CFLAGS; +# sub-configure will not # survive double space +CFLAGS:= ${CFLAGS:C/ $//} + .if defined(WITHOUT_CPU_CFLAGS) .if defined(_CPUCFLAGS) .if !empty(_CPUCFLAGS) |