summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-09-20 21:59:06 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-09-20 21:59:53 +0200
commit9d7cf71ff490c6c7a20c819b41d50562d15ee611 (patch)
tree03aeb29b0ae7aef2aa423d4fc37bd78d8cae946a
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 <slavek.banko@axis.cz> (cherry picked from commit 56000dfd7ffb211546f363e01f773aca38ed2635)
-rwxr-xr-xdebian/_base/dependencies/tqt3/debian/rules4
-rwxr-xr-xdilos/dependencies/tqt3/debian/rules4
-rwxr-xr-xubuntu/_base/dependencies/tqt3/debian/rules4
3 files changed, 12 insertions, 0 deletions
diff --git a/debian/_base/dependencies/tqt3/debian/rules b/debian/_base/dependencies/tqt3/debian/rules
index 47d53d25c..45448b36c 100755
--- a/debian/_base/dependencies/tqt3/debian/rules
+++ b/debian/_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 \
diff --git a/dilos/dependencies/tqt3/debian/rules b/dilos/dependencies/tqt3/debian/rules
index 228582b63..d89739167 100755
--- a/dilos/dependencies/tqt3/debian/rules
+++ b/dilos/dependencies/tqt3/debian/rules
@@ -35,6 +35,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 = \
@@ -94,6 +96,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 \
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 \