[sr-dev] [tracker] Task opened: FreeBSD build broken with db_postgres module

sip-router bugtracker at sip-router.org
Wed Sep 4 10:53:21 CEST 2013


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Victor (coyote) 

Attached to Project - sip-router
Summary - FreeBSD build broken with db_postgres module
Task Type - Bug Report
Category - Module
Status - Unconfirmed
Assigned To - 
Operating System - FreeBSD
Severity - Medium
Priority - Normal
Reported Version - Development
Due in Version - Undecided
Due Date - Undecided
Details - Error message:

PGSQLON=yes make -C ../../utils/kamctl/ install-modules
make: illegal option -- -
usage: make [-BPSXeiknpqrstv] [-C directory] [-D variable]
	[-d flags] [-E variable] [-f makefile] [-I directory]
	[-j max_jobs] [-m directory] [-V variable]
	[variable=value] [target ...]
gmake[1]: *** [install-pgsql-scripts] Error 2
gmake: *** [install-modules] Error 1


Need patch for using $(MAKE) variable vs direct make call.


diff --git a/modules/db_postgres/Makefile b/modules/db_postgres/Makefile
index 66292ae..aa8da69 100644
--- a/modules/db_postgres/Makefile
+++ b/modules/db_postgres/Makefile
@@ -40,7 +40,7 @@ ifeq ($(INSTALL_FLAVOUR),kamailio)
 # extra install for kamailio
 
 install-pgsql-scripts: $(bin_prefix)/$(bin_dir)
-               PGSQLON=yes make -C ../../utils/kamctl/ install-modules
+               PGSQLON=yes $(MAKE) -C ../../utils/kamctl/ install-modules
 
 install-scripts: install-pgsql-scripts
 


More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=335

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the sr-dev mailing list