1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00

update x11-toolkits/gtkmathview: build on 5.x

PR:		54472
Reviewed by:	sf
This commit is contained in:
Daichi GOTO 2003-07-16 12:10:09 +00:00
parent df23d06db4
commit f373176813
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=84988
2 changed files with 8 additions and 14 deletions

View File

@ -24,23 +24,17 @@ USE_GETOPT_LONG= yes
USE_X_PREFIX= yes
USE_GNOME= glib12 gtk12
USE_LIBTOOL= yes
CPPFLAGS= -I${LOCALBASE}/include -DHAVE_DECL_GETOPT
LDFLAGS= -L${LOCALBASE}/lib
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
USE_GMAKE= yes
INSTALLS_SHLIB= yes
MAN1= mathmlviewer.1 mathml2ps.1
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 500000
BROKEN= Does not build on FreeBSD 5.x
.endif
post-patch:
.for file in src/stringAux.cc src/PS_T1_FontManager.cc
@${REINPLACE_CMD} -e "s|malloc.h|stdlib.h|g" ${WRKSRC}/${file}
.endfor
post-install:
@install-info ${PREFIX}/info/gtkmathview.info ${PREFIX}/info/dir
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -5,11 +5,10 @@ include/gtkmathview/defs.h
include/gtkmathview/gtkmathview.h
@dirrm include/gtkmathview
lib/libgtkmathview.a
lib/libgtkmathview.la
lib/libgtkmathview.so
lib/libgtkmathview.so.3
@unexec install-info --delete %D/info/gtkmathview.info %D/info/dir
info/gtkmathview.info
@exec install-info %D/info/gtkmathview.info %D/info/dir
lib/libgtkmathview.so.4
lib/pkgconfig/gtkmathview.pc
share/gtkmathview/dictionary-combining.xml
share/gtkmathview/dictionary-local.xml
share/gtkmathview/dictionary.dtd
@ -28,3 +27,4 @@ share/gtkmathview/math-engine-configuration.dtd
share/gtkmathview/math-engine-configuration.xml
share/gtkmathview/t1.config
@dirrm share/gtkmathview
@unexec rmdir %D/lib/pkgconfig 2>/dev/null || true