From 49c357ca7f0086ca07db5813402f4c40b6411aa0 Mon Sep 17 00:00:00 2001 From: sobomax Date: Wed, 19 Dec 2001 11:39:09 +0000 Subject: Fix braino: when WITHOUT_MOZILLA isn't defined don't override BUILD_DEPENDS, but instead append appropriate entries using `+='. This should fix bento build. Submitted by: bento --- x11-fm/nautilus/Makefile | 2 +- x11-fm/nautilus2/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'x11-fm') diff --git a/x11-fm/nautilus/Makefile b/x11-fm/nautilus/Makefile index f8aaabf..7c01611 100644 --- a/x11-fm/nautilus/Makefile +++ b/x11-fm/nautilus/Makefile @@ -22,7 +22,7 @@ LIB_DEPENDS= medusa.0:${PORTSDIR}/sysutils/medusa \ .if !defined(WITHOUT_MOZILLA) MOZILLA= mozilla-embedded -BUILD_DEPENDS= ${X11BASE}/include/mozilla/gtkembedmoz/gtkmozembed.h:${PORTSDIR}/www/mozilla-headers \ +BUILD_DEPENDS+= ${X11BASE}/include/mozilla/gtkembedmoz/gtkmozembed.h:${PORTSDIR}/www/mozilla-headers \ ${X11BASE}/lib/${MOZILLA}/libgtkembedmoz.so:${PORTSDIR}/www/${MOZILLA} RUN_DEPENDS= ${X11BASE}/lib/${MOZILLA}/libgtkembedmoz.so:${PORTSDIR}/www/${MOZILLA} .endif diff --git a/x11-fm/nautilus2/Makefile b/x11-fm/nautilus2/Makefile index f8aaabf..7c01611 100644 --- a/x11-fm/nautilus2/Makefile +++ b/x11-fm/nautilus2/Makefile @@ -22,7 +22,7 @@ LIB_DEPENDS= medusa.0:${PORTSDIR}/sysutils/medusa \ .if !defined(WITHOUT_MOZILLA) MOZILLA= mozilla-embedded -BUILD_DEPENDS= ${X11BASE}/include/mozilla/gtkembedmoz/gtkmozembed.h:${PORTSDIR}/www/mozilla-headers \ +BUILD_DEPENDS+= ${X11BASE}/include/mozilla/gtkembedmoz/gtkmozembed.h:${PORTSDIR}/www/mozilla-headers \ ${X11BASE}/lib/${MOZILLA}/libgtkembedmoz.so:${PORTSDIR}/www/${MOZILLA} RUN_DEPENDS= ${X11BASE}/lib/${MOZILLA}/libgtkembedmoz.so:${PORTSDIR}/www/${MOZILLA} .endif -- cgit v1.1