summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11/fireflies/Makefile4
-rw-r--r--x11/fireflies/files/patch-Makefile6
2 files changed, 7 insertions, 3 deletions
diff --git a/x11/fireflies/Makefile b/x11/fireflies/Makefile
index 1d8886a1717f..ffae78f2a1a8 100644
--- a/x11/fireflies/Makefile
+++ b/x11/fireflies/Makefile
@@ -25,6 +25,10 @@ CONFIGURE_ARGS= --with-bindir=${LOCALBASE}/bin/xscreensaver-hacks \
--with-confdir=${LOCALBASE}/share/xscreensaver/config
PLIST_SUB= VERSION=${PORTVERSION}
+MAKE_ARGS= CONFIGURE_ENV=${CONFIGURE_ENV:Q} \
+ CONFIGURE_SCRIPT=${CONFIGURE_SCRIPT:Q} \
+ CONFIGURE_ARGS=${CONFIGURE_ARGS:Q}
+
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
diff --git a/x11/fireflies/files/patch-Makefile b/x11/fireflies/files/patch-Makefile
index 61ddf507820b..e69b95afcfa1 100644
--- a/x11/fireflies/files/patch-Makefile
+++ b/x11/fireflies/files/patch-Makefile
@@ -1,5 +1,5 @@
---- Makefile.orig Tue May 6 16:00:40 2003
-+++ Makefile Fri Oct 27 11:40:19 2006
+--- Makefile.orig Tue May 6 15:00:40 2003
++++ Makefile Tue Dec 5 16:44:03 2006
@@ -1,4 +1,4 @@
-include Make.include
+#include Make.include
@@ -16,7 +16,7 @@
libgfx/src/libgfx.a:
- gunzip -c libgfx-1.0.1.tar.gz | tar x
- cd libgfx && ./configure && cd src && make
-+ cd libgfx && ./configure && cd src && ${MAKE}
++ cd libgfx && ${CONFIGURE_ENV} ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS} && cd src && ${MAKE}
install: all
sh ./installit $(DESTDIR)