aboutsummaryrefslogtreecommitdiff
path: root/textproc/libxslt
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2006-05-04 00:45:20 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2006-05-04 00:45:20 +0000
commita2d0ac6c0bdda037d93e69f02693971143107b99 (patch)
treef35ff6c64ab11699b1462ed8376a092879061468 /textproc/libxslt
parentbbee4a66a6c51cf5cf05a31aa2fdded1468ceb80 (diff)
downloadports-a2d0ac6c0bdda037d93e69f02693971143107b99.tar.gz
ports-a2d0ac6c0bdda037d93e69f02693971143107b99.zip
* Fix build on 4.X [1]
* Handle creating and removal of the libxslt-plugins directory [2] PR: 96707 [1] Submitted by: Sven Berkvens-Matthijsse <sven@ilse.net> [1] Reported by: pointyhat via kris [2]
Notes
Notes: svn path=/head/; revision=161309
Diffstat (limited to 'textproc/libxslt')
-rw-r--r--textproc/libxslt/Makefile1
-rw-r--r--textproc/libxslt/files/patch-libexslt_crypto.c10
-rw-r--r--textproc/libxslt/pkg-plist2
3 files changed, 13 insertions, 0 deletions
diff --git a/textproc/libxslt/Makefile b/textproc/libxslt/Makefile
index 4f7b82ef934d..0f2a50a272e4 100644
--- a/textproc/libxslt/Makefile
+++ b/textproc/libxslt/Makefile
@@ -7,6 +7,7 @@
PORTNAME= libxslt
PORTVERSION= 1.1.16
+PORTREVISION?= 1
CATEGORIES?= textproc gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/1.1
diff --git a/textproc/libxslt/files/patch-libexslt_crypto.c b/textproc/libxslt/files/patch-libexslt_crypto.c
new file mode 100644
index 000000000000..527464e50093
--- /dev/null
+++ b/textproc/libxslt/files/patch-libexslt_crypto.c
@@ -0,0 +1,10 @@
+--- libexslt/crypto.c.orig Wed May 3 20:42:12 2006
++++ libexslt/crypto.c Wed May 3 20:42:41 2006
+@@ -318,6 +318,7 @@ exsltCryptoCryptoApiRc4Decrypt (xmlXPath
+ #define PLATFORM_SHA1 GCRY_MD_SHA1
+
+ #ifdef HAVE_SYS_SELECT_H
++#include <sys/types.h>
+ #include <sys/select.h> /* needed by gcrypt.h 4 Jul 04 */
+ #endif
+ #include <gcrypt.h>
diff --git a/textproc/libxslt/pkg-plist b/textproc/libxslt/pkg-plist
index c0aa5a6f6b87..dbe3b2127980 100644
--- a/textproc/libxslt/pkg-plist
+++ b/textproc/libxslt/pkg-plist
@@ -32,6 +32,7 @@ lib/libxslt.a
lib/libxslt.la
lib/libxslt.so
lib/libxslt.so.2
+@exec mkdir -p %D/lib/libxslt-plugins
libdata/pkgconfig/libexslt.pc
libdata/pkgconfig/libxslt.pc
share/aclocal/libxslt.m4
@@ -124,5 +125,6 @@ share/aclocal/libxslt.m4
@dirrm %%DOCSDIR%%/html/EXSLT
@dirrm %%DOCSDIR%%/html
@dirrm %%DOCSDIR%%
+@dirrmtry lib/libxslt-plugins
@dirrm include/libxslt
@dirrm include/libexslt