mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
- Fix pkg-plist
- Chase location of libxml2 headers PR: 38229 Submitted by: KATO Tsuguru <tkato@prontomail.com>
This commit is contained in:
parent
6f50c9202a
commit
c75336b5e6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=59593
4 changed files with 33 additions and 26 deletions
|
@ -7,6 +7,7 @@
|
|||
|
||||
PORTNAME= libwmf
|
||||
PORTVERSION= 0.2.5
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= wvware
|
||||
|
@ -14,27 +15,27 @@ MASTER_SITE_SUBDIR= wvware
|
|||
MAINTAINER= ports@FreeBSD.org
|
||||
|
||||
BUILD_DEPENDS= freetype-config:${PORTSDIR}/print/freetype2 # XXX
|
||||
LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg \
|
||||
png:${PORTSDIR}/graphics/png \
|
||||
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
|
||||
png.5:${PORTSDIR}/graphics/png \
|
||||
freetype.9:${PORTSDIR}/print/freetype2 \
|
||||
xml2.5:${PORTSDIR}/textproc/libxml2
|
||||
|
||||
.ifndef (WITHOUT_X11)
|
||||
USE_XLIB= yes
|
||||
PLIST_SUB+= X11=''
|
||||
.else
|
||||
PKGNAMESUFFIX= -nox11
|
||||
PLIST_SUB+= X11='@comment '
|
||||
.endif
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_TARGET= # none
|
||||
CONFIGURE_ARGS= --build=${ARCH}-portbld-freebsd${OSREL} \
|
||||
--enable-magick --with-sys-gd=no \
|
||||
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
|
||||
CONFIGURE_ARGS= --enable-magick --with-sys-gd=no \
|
||||
--with-png=${LOCALBASE} --with-jpeg=${LOCALBASE} \
|
||||
--with-gsfontdir=${LOCALBASE}/share/ghostscript/fonts
|
||||
INSTALLS_SHLIB= yes
|
||||
|
||||
.if defined(WITHOUT_X11)
|
||||
PKGNAMESUFFIX= -nox11
|
||||
CONFIGURE_ARGS+= --with-x=no
|
||||
PLIST_SUB+= X11='@comment '
|
||||
.else
|
||||
USE_XLIB= yes
|
||||
PLIST_SUB+= X11=''
|
||||
.endif
|
||||
|
||||
pre-patch:
|
||||
@${PERL} -pi -e 's|src include fonts doc|src include fonts|g' \
|
||||
${WRKSRC}/Makefile.in
|
||||
|
|
|
@ -1,16 +1,6 @@
|
|||
--- ltmain.sh.orig Sun Oct 28 22:08:24 2001
|
||||
+++ ltmain.sh Sat Nov 17 05:11:40 2001
|
||||
@@ -2408,6 +2408,9 @@
|
||||
*-*-netbsd*)
|
||||
# Don't link with libc until the a.out ld.so is fixed.
|
||||
;;
|
||||
+ *-*-freebsd*)
|
||||
+ # FreeBSD doesn't need this...
|
||||
+ ;;
|
||||
*)
|
||||
# Add libc to deplibs on all other systems if necessary.
|
||||
if test $build_libtool_need_lc = "yes"; then
|
||||
@@ -4175,10 +4178,12 @@
|
||||
--- ltmain.sh.orig Wed May 15 18:57:35 2002
|
||||
+++ ltmain.sh Fri May 17 21:18:44 2002
|
||||
@@ -4731,10 +4731,12 @@
|
||||
fi
|
||||
|
||||
# Install the pseudo-library for information purposes.
|
||||
|
|
13
graphics/libwmf/files/patch-src::font.c
Normal file
13
graphics/libwmf/files/patch-src::font.c
Normal file
|
@ -0,0 +1,13 @@
|
|||
--- src/font.c.orig Wed May 15 18:34:08 2002
|
||||
+++ src/font.c Fri May 17 23:56:23 2002
|
||||
@@ -833,8 +833,8 @@
|
||||
|
||||
#ifdef HAVE_XML2
|
||||
|
||||
-#include <libxml/parser.h>
|
||||
-#include <libxml/parserInternals.h>
|
||||
+#include <libxml2/libxml/parser.h>
|
||||
+#include <libxml2/libxml/parserInternals.h>
|
||||
|
||||
static void xml2_start (void* user_data,const char* tag,const char** attributes)
|
||||
{ const char** attr;
|
|
@ -34,6 +34,9 @@ include/libwmf/x.h
|
|||
lib/libwmf.a
|
||||
lib/libwmf.so
|
||||
lib/libwmf.so.2
|
||||
lib/libwmflite.a
|
||||
lib/libwmflite.so
|
||||
lib/libwmflite.so.2
|
||||
%%PORTDOCS%%share/doc/libwmf/caolan/2.html
|
||||
%%PORTDOCS%%share/doc/libwmf/caolan/Arc.html
|
||||
%%PORTDOCS%%share/doc/libwmf/caolan/BitBlt.html
|
||||
|
|
Loading…
Add table
Reference in a new issue