* 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]
This commit is contained in:
Joe Marcus Clarke 2006-05-04 00:45:20 +00:00
parent bbee4a66a6
commit a2d0ac6c0b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=161309
3 changed files with 13 additions and 0 deletions

View File

@ -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

View File

@ -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>

View File

@ -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