diff options
author | Daichi GOTO <daichi@FreeBSD.org> | 2003-07-16 12:10:09 +0000 |
---|---|---|
committer | Daichi GOTO <daichi@FreeBSD.org> | 2003-07-16 12:10:09 +0000 |
commit | f373176813d0cd177b8cabc08f470bfbd25915a4 (patch) | |
tree | 0cc9f2546e7acefea0fa8619ec56d06570c36a26 /x11-toolkits/gtkmathview/Makefile | |
parent | df23d06db40b81b2401e66c9dad9d603899d90ca (diff) | |
download | ports-f373176813d0cd177b8cabc08f470bfbd25915a4.tar.gz ports-f373176813d0cd177b8cabc08f470bfbd25915a4.zip |
update x11-toolkits/gtkmathview: build on 5.x
PR: 54472
Reviewed by: sf
Notes
Notes:
svn path=/head/; revision=84988
Diffstat (limited to 'x11-toolkits/gtkmathview/Makefile')
-rw-r--r-- | x11-toolkits/gtkmathview/Makefile | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/x11-toolkits/gtkmathview/Makefile b/x11-toolkits/gtkmathview/Makefile index c0fca078e994..6a0de6f850d9 100644 --- a/x11-toolkits/gtkmathview/Makefile +++ b/x11-toolkits/gtkmathview/Makefile @@ -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> |