File: fix-var-quoting.diff

package info (click to toggle)
mysql-connector-c%2B%2B 1.1.12-4.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,908 kB
  • sloc: cpp: 44,895; ansic: 2,114; php: 528; sql: 403; xml: 109; sh: 33; makefile: 11
file content (20 lines) | stat: -rw-r--r-- 634 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Last-Update: 2018-11-03
Author: Rene Engelhard <rene@rene-engelhard.de>
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=909353
Description: fix cross building. (patch by Helmut Grohne)

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -125,10 +125,10 @@
 #-----------------
 # CPPFLAGS, CXXFLAGS and LDFLAGS from the environment
 
 SET(FreeBSD11Up False)
-if (${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD" AND
-    ${CMAKE_SYSTEM_VERSION} GREATER "10")
+if (CMAKE_SYSTEM_NAME STREQUAL "FreeBSD" AND
+    CMAKE_SYSTEM_VERSION GREATER "10")
   SET(FreeBSD11Up True)
 endif()
 
 # c++11 enabled by default only for FreeBSD 11 and up