--- Makefile.orig	2015-08-05 01:03:53 UTC
+++ Makefile
@@ -35,16 +35,11 @@ SCRIPT_DIR    := $(TOP_DIR)/scripts
 TIGR_SRC_DIR  := $(TOP_DIR)/src/tigr
 KURTZ_SRC_DIR := $(TOP_DIR)/src/kurtz
 
-CC   := $(filter /%,$(shell /bin/sh -c 'type gcc'))
-CXX  := $(filter /%,$(shell /bin/sh -c 'type g++'))
 SED  := $(filter /%,$(shell /bin/sh -c 'type sed'))
 CSH  := $(filter /%,$(shell /bin/sh -c 'type csh'))
-PERL := $(filter /%,$(shell /bin/sh -c 'type perl'))
+PERL := ${LOCALBASE}/bin/perl
 AR   := $(filter /%,$(shell /bin/sh -c 'type ar'))
 
-CXXFLAGS = -O3
-CFLAGS = -O3
-LDFLAGS  =
 
 FLATS = ACKNOWLEDGEMENTS COPYRIGHT INSTALL LICENSE Makefile README ChangeLog
 
