aboutsummaryrefslogtreecommitdiffstats
path: root/mail/sylpheed-claws-synce/files/patch-configure.ac
blob: 3806f6a8cd6650cb15cc8bed6a9d4be8ed56b830 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- configure.ac.orig Wed Apr  5 20:46:08 2006
+++ configure.ac Wed Apr  5 20:47:02 2006
@@ -42,7 +42,11 @@
 
 dnl check for sylpheed-claws
 PKG_CHECK_MODULES(SYLPHEED_CLAWS, sylpheed-claws >= 1.9.100.93)
-SYLPHEED_CLAWS_PLUGINDIR=$($PKG_CONFIG --variable=plugindir sylpheed-claws)
+if test -z $prefix ; then
+  SYLPHEED_CLAWS_PLUGINDIR=$($PKG_CONFIG --variable=plugindir sylpheed-claws)
+else
+  SYLPHEED_CLAWS_PLUGINDIR=$prefix/lib/sylpheed-claws/plugins
+fi
 AC_SUBST(SYLPHEED_CLAWS_CFLAGS)
 AC_SUBST(SYLPHEED_CLAWS_LIBS)
 AC_SUBST(SYLPHEED_CLAWS_PLUGINDIR)