summaryrefslogtreecommitdiffstats
path: root/ubuntu/_base/dependencies/tqt3/debian/rules
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2020-09-20 21:59:06 +0200
committerSlávek Banko <[email protected]>2020-09-20 21:59:53 +0200
commit9d7cf71ff490c6c7a20c819b41d50562d15ee611 (patch)
tree03aeb29b0ae7aef2aa423d4fc37bd78d8cae946a /ubuntu/_base/dependencies/tqt3/debian/rules
parent1c5193fd8476d889638e294c67031d61b177a5d0 (diff)
downloadtde-packaging-9d7cf71ff490c6c7a20c819b41d50562d15ee611.tar.gz
tde-packaging-9d7cf71ff490c6c7a20c819b41d50562d15ee611.zip
DEB tqt3: Add the tirpc include directory to the includes.
Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit 56000dfd7ffb211546f363e01f773aca38ed2635)
Diffstat (limited to 'ubuntu/_base/dependencies/tqt3/debian/rules')
-rwxr-xr-xubuntu/_base/dependencies/tqt3/debian/rules4
1 files changed, 4 insertions, 0 deletions
diff --git a/ubuntu/_base/dependencies/tqt3/debian/rules b/ubuntu/_base/dependencies/tqt3/debian/rules
index 47d53d25c..45448b36c 100755
--- a/ubuntu/_base/dependencies/tqt3/debian/rules
+++ b/ubuntu/_base/dependencies/tqt3/debian/rules
@@ -43,6 +43,8 @@ P_APPSDEV = $(DEBIAN)/tqt3-apps-dev
P_HEADERS = $(DEBIAN)/libtqt3-headers
P_QTMTDEV = $(DEBIAN)/libtqt3-mt-dev
+RPC_INCLUDES = $(if $(wildcard /usr/include/tirpc),-I/usr/include/tirpc,)
+
TMP_INSTALL = $(DEBIAN)/tmp-install
CONFIGURE_OPTS = \
@@ -101,6 +103,8 @@ CONFIGURE_OPTS = \
-I/usr/include/freetype2 \
-I`pg_config --includedir` \
-I`pg_config --includedir-server` \
+ $(RPC_INCLUDES) \
+ \
-L/usr/lib/$(DEB_HOST_MULTIARCH)\
\
-lfontconfig \