diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2003-11-03 19:46:31 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2003-11-03 19:46:31 +0000 |
commit | 2c132407200855b091773fbc0efe96fbee6b98e4 (patch) | |
tree | 32500f94a671f87e4419c6134042bbad38c65083 /print/gfontview/Makefile | |
parent | 58774 Andrew J. Caines <A.J.Caines@halplant.com> (diff) |
- Fix build on -current
PR: 58880
Submitted by: Ports Fury
Notes
Notes:
svn path=/head/; revision=92991
Diffstat (limited to 'print/gfontview/Makefile')
-rw-r--r-- | print/gfontview/Makefile | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/print/gfontview/Makefile b/print/gfontview/Makefile index a47c216701ae..67afe44e0ff6 100644 --- a/print/gfontview/Makefile +++ b/print/gfontview/Makefile @@ -25,22 +25,14 @@ GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/freetype1/freetype \ -I${LOCALBASE}/include" \ SPOOLER="/usr/bin/lpr" \ - LIBS="-L${LOCALBASE}/lib" + LDFLAGS="-L${LOCALBASE}/lib" CONFIGURE_ARGS= --with-fontdir="${LOCALBASE}/share/ghostscript/fonts" \ --with-libungif -.include <bsd.port.pre.mk> - -.if ${OSVERSION} >= 501000 -BROKEN= "Does not compile on FreeBSD ${OSVERSION}" -.endif - post-patch: - @${REINPLACE_CMD} -e 's|CXXFLAGS="-O2"|CXXFLAGS="$$CXXFLAGS"|g ; \ - s|USE_INCLUDED_LIBINTL=yes|#USE_INCLUDED_LIBINTL=yes|g ; \ - s|\$$(top_builddir)/intl/libintl.a|-lintl|g' \ - ${WRKSRC}/configure + @${REINPLACE_CMD} -e \ + 's|CXXFLAGS="-O2"|CXXFLAGS="$$CXXFLAGS"|g' ${WRKSRC}/configure @${REINPLACE_CMD} -e \ 's|-I/usr/include/freetype||g' ${WRKSRC}/Makefile.in -.include <bsd.port.post.mk> +.include <bsd.port.mk> |