1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00

Fix build when knob WITHOUT_KDE is set.

PR:		ports/122466
Submitted by:	José García Juanino <jjuanino (at) gmail com>
This commit is contained in:
Thierry Thomas 2008-04-05 20:40:20 +00:00
parent 5a9a09af5d
commit 61f95d8342
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=210618

View File

@ -0,0 +1,13 @@
--- configure.ac.orig 2008-03-09 21:03:43.000000000 +0100
+++ configure.ac 2008-04-05 14:34:02.000000000 +0200
@@ -53,6 +53,9 @@
AX_PATH_LIB_PCRE
AM_PATH_CPPUNIT([1.10.2], found_cppunit=yes)
AM_CONDITIONAL([CPPUNIT], [test "x$found_cppunit" = "xyes"])
+# is mandatory check for libcompat
+AC_CHECK_LIB(compat, main, [LIBCOMPAT="-lcompat"]) dnl for *BSD
+AC_SUBST(LIBCOMPAT)
# Makefile.am uses these
AM_CONDITIONAL(ENABLE_MONO, test "$enable_mono" = yes)