Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F8321796
Makefile-FreeBSD.patch
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1000 B
Referenced Files
None
Subscribers
None
Makefile-FreeBSD.patch
View Options
diff --git a/src/Makefile b/src/Makefile
index f0f0a0b..932876b 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -37,13 +37,13 @@ TCLVERSION=8.6
# Headers to include
-TCL_INCLUDE=/usr/include/tcl${TCLVERSION}
-RABBITMQ_INCLUDE=/usr/include
+TCL_INCLUDE=/usr/local/include/tcl$(TCLVERSION)
+RABBITMQ_INCLUDE=/usr/local/include
INCLUDES=-I$(TCL_INCLUDE) -I$(RABBITMQ_INCLUDE)
# Libraries to use
-LIBS=-ltcl${TCLVERSION} -lrabbitmq
+LIBS=-L/usr/local/lib -ltcl$(subst .,,${TCLVERSION}) -lrabbitmq
# Features
diff --git a/tests/Makefile b/tests/Makefile
index 758220d..9df280a 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -30,12 +30,11 @@ TCLVERSION=8.6
# Headers to include
-TCL_INCLUDE=/usr/include/tcl${TCLVERSION}
-INCLUDES=-I$(TCL_INCLUDE)
+TCL_INCLUDE=/usr/local/include/tcl$(TCLVERSION)
+INCLUDES=-I/usr/local/include -I$(TCL_INCLUDE)
# Libraries to use
-
-LIBS=-lcmocka -ltcl -lrabbitmq
+LIBS=-L/usr/local/lib -lcmocka -ltcl${TCLVERSION:S/.//} -lrabbitmq
# Commands to use
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Tue, May 13, 16:52 (1 d, 1 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2569267
Default Alt Text
Makefile-FreeBSD.patch (1000 B)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment