diff options
author | linimon <linimon@FreeBSD.org> | 2008-07-30 17:46:17 +0800 |
---|---|---|
committer | linimon <linimon@FreeBSD.org> | 2008-07-30 17:46:17 +0800 |
commit | 71e30cc2a1dc0eaf5335676e9de37b8384d938ba (patch) | |
tree | eccc7ca0349b5ae19e83faa5007da9d7d46541ee /ports-mgmt | |
parent | 7d6455efe4a20fa70a78b65c3b2333dc5d43518c (diff) | |
download | freebsd-ports-gnome-71e30cc2a1dc0eaf5335676e9de37b8384d938ba.tar.gz freebsd-ports-gnome-71e30cc2a1dc0eaf5335676e9de37b8384d938ba.tar.zst freebsd-ports-gnome-71e30cc2a1dc0eaf5335676e9de37b8384d938ba.zip |
Catch up with master 1.600. This also obsoletes a portmk-only patch
that has been around for a while.
Diffstat (limited to 'ports-mgmt')
-rw-r--r-- | ports-mgmt/portmk/Mk/bsd.port.mk | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/ports-mgmt/portmk/Mk/bsd.port.mk b/ports-mgmt/portmk/Mk/bsd.port.mk index 0a6a0c310efc..9b6b4be2d5b2 100644 --- a/ports-mgmt/portmk/Mk/bsd.port.mk +++ b/ports-mgmt/portmk/Mk/bsd.port.mk @@ -1693,6 +1693,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) @@ -1790,9 +1794,6 @@ EXTRACT_DEPENDS+= unmakeself:${PORTSDIR}/archivers/unmakeself .if defined(USE_GMAKE) BUILD_DEPENDS+= gmake:${PORTSDIR}/devel/gmake CONFIGURE_ENV+= MAKE=${GMAKE} -# note: the next line is from 86106 which says: "It needs more investigation. -# We will keep it in ports-mgmt/portmk for further tests." -MAKE_ENV+= CC="${CC}" CXX="${CXX}" .endif .if defined(USE_GCC) || defined(USE_FORTRAN) @@ -2299,8 +2300,9 @@ MAKE_FLAGS?= -f MAKEFILE?= Makefile MAKE_ENV+= PREFIX=${PREFIX} \ LOCALBASE=${LOCALBASE} X11BASE=${X11BASE} \ - MOTIFLIB="${MOTIFLIB}" LIBDIR="${LIBDIR}" CFLAGS="${CFLAGS}" \ - CXXFLAGS="${CXXFLAGS}" MANPREFIX="${MANPREFIX}" + MOTIFLIB="${MOTIFLIB}" LIBDIR="${LIBDIR}" \ + CC="${CC}" CFLAGS="${CFLAGS}" CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" \ + MANPREFIX="${MANPREFIX}" # Add -fno-strict-aliasing to CFLAGS with optimization level -O2 or higher. # gcc 4.x enable strict aliasing optimization with -O2 which is known to break |