summaryrefslogtreecommitdiff
path: root/databases/postgresql-plv8js/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/postgresql-plv8js/files/patch-Makefile')
-rw-r--r--databases/postgresql-plv8js/files/patch-Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/databases/postgresql-plv8js/files/patch-Makefile b/databases/postgresql-plv8js/files/patch-Makefile
new file mode 100644
index 000000000000..82ab29760cfa
--- /dev/null
+++ b/databases/postgresql-plv8js/files/patch-Makefile
@@ -0,0 +1,11 @@
+--- Makefile.orig 2013-09-07 11:00:59.000000000 +0800
++++ Makefile 2013-09-07 11:01:29.000000000 +0800
+@@ -21,7 +21,7 @@ PG_VERSION_NUM := $(shell cat `$(PG_CONF
+ | perl -ne 'print $$1 and exit if /PG_VERSION_NUM\s+(\d+)/')
+
+ # set your custom C++ compler
+-CUSTOM_CC = g++
++CUSTOM_CC := $(CXX)
+ JSS = coffee-script.js livescript.js
+ # .cc created from .js
+ JSCS = $(JSS:.js=.cc)