1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00
freebsd-ports/cad/geda/files/patch-configure
Alexey Dokuchaev 8d492eab5d cad/geda: unbreak the port's build (specifically, linking)
Add missing -lgio-2.0 to several LDFLAGS which require it.
While here, fix the configure script to respect the passed
--with-libstroke=${LOCALBASE} correctly.
2023-02-24 12:42:08 +00:00

21 lines
595 B
Plaintext

--- configure.orig 2013-09-25 21:55:35 UTC
+++ configure
@@ -4876,7 +4876,7 @@ case $host_os in *\ *) host_os=`echo "$h
# compat. layer on Windows (Cygwin).
OS_WIN32_NATIVE=no
OS_CYGWIN=no
- OS_LINUX=no
+ OS_LINUX=yes
case "$host" in
*-*-linux*)
OS_LINUX=yes
@@ -20127,7 +20127,7 @@ fi
# If a prefix to search was specified, then add the appropriate
# flags.
- if test "X$libstroke_use" = "X"; then
+ if test -n "$libstroke_prefix"; then
LIBSTROKE_LDFLAGS="-L$libstroke_prefix/lib"
LIBSTROKE_CFLAGS="-I$libstroke_prefix/include"
fi