diff options
author | lioux <lioux@FreeBSD.org> | 2002-11-26 23:04:03 +0800 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2002-11-26 23:04:03 +0800 |
commit | 29b70738bf516a2c7449a7da92fc31e06f3b63f4 (patch) | |
tree | c021b150cdf74ddc1d8a98187357ae26737401ce /multimedia/ogle | |
parent | fc1eaefcd87731e61f6fb2156c6d8083a0f2eaaa (diff) | |
download | freebsd-ports-gnome-29b70738bf516a2c7449a7da92fc31e06f3b63f4.tar.gz freebsd-ports-gnome-29b70738bf516a2c7449a7da92fc31e06f3b63f4.tar.zst freebsd-ports-gnome-29b70738bf516a2c7449a7da92fc31e06f3b63f4.zip |
Fix: insure CFLAG safeness
PR: 45688
Submitted by: Conrad Sabatier <conrads@cox.net>
Diffstat (limited to 'multimedia/ogle')
-rw-r--r-- | multimedia/ogle/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/multimedia/ogle/Makefile b/multimedia/ogle/Makefile index 6b97796ba0d6..6ad5eaa492ba 100644 --- a/multimedia/ogle/Makefile +++ b/multimedia/ogle/Makefile @@ -39,7 +39,10 @@ post-patch: ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} .endif @${REINPLACE_CMD} -e "s|%%X11BASE%%|${X11BASE}|" ${WRKSRC}/scripts/ogle.in - @${REINPLACE_CMD} -E -e 's|(-la52)|\1 ${LIBA52_DEP_LIBS}|' \ +# hack to make ogle work with liba52 + djbfft +# CFLAGS safeness + @${REINPLACE_CMD} -E -e 's|(-la52)|\1 ${LIBA52_DEP_LIBS}|; \ + s,(X?CFLAGS[[:space:]]*=[[:space:]]*"\$$CFLAGS).*(-(fomit-frame-pointer|funroll-loops|march|mcpu)).*",\1",' \ ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} pre-configure: |