aboutsummaryrefslogtreecommitdiffstats
path: root/mail/claws-mail-smime/files/patch-configure.ac
blob: 2f11eca8d385eb24a5eb2c9a7d7831736505722d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- configure.ac.orig   Fri Apr  7 16:57:27 2006
+++ configure.ac    Fri Apr  7 16:59:27 2006
@@ -42,7 +42,11 @@
 
 dnl check for sylpheed-claws
 PKG_CHECK_MODULES(SYLPHEED_CLAWS, sylpheed-claws >= 2.1.0.1)
-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)