aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2003-06-30 06:33:17 +0800
committerarved <arved@FreeBSD.org>2003-06-30 06:33:17 +0800
commitf7e408a7a39548a9acc7902b61951c10036e504d (patch)
tree5af685f3b1de31bce51bc5ba0e4ec4943fb38a04 /print
parente8b6152a734985a28fb9dfe103bb4c7d5a30ccff (diff)
downloadfreebsd-ports-gnome-f7e408a7a39548a9acc7902b61951c10036e504d.tar.gz
freebsd-ports-gnome-f7e408a7a39548a9acc7902b61951c10036e504d.tar.zst
freebsd-ports-gnome-f7e408a7a39548a9acc7902b61951c10036e504d.zip
Fix Build.
PR: 53771 Submitted by: KATO Tsuguru <tkato@prontomail.com>
Diffstat (limited to 'print')
-rw-r--r--print/gfontview/Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/print/gfontview/Makefile b/print/gfontview/Makefile
index ec3d04369d44..19f5db0c12d9 100644
--- a/print/gfontview/Makefile
+++ b/print/gfontview/Makefile
@@ -19,8 +19,7 @@ COMMENT= An outline font viewer
LIB_DEPENDS= t1.5:${PORTSDIR}/devel/t1lib
USE_X_PREFIX= yes
-USE_REINPLACE= yes
-USE_GNOME= yes
+USE_GNOME= gnomehack gnomelibs gnomeprefix
USE_FREETYPE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/freetype1/freetype \
@@ -32,13 +31,10 @@ CONFIGURE_ARGS= --with-fontdir="${LOCALBASE}/share/ghostscript/fonts" \
post-patch:
@${REINPLACE_CMD} -e 's|CXXFLAGS="-O2"|CXXFLAGS="$$CXXFLAGS"|g ; \
- s|DATADIRNAME=lib|DATADIRNAME=share|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|\$$(datadir)/gnome/|$$(datadir)/|g ; \
- s|\$$(datadir)/locale|$$(prefix)/share/locale|g ; \
- s|-I/usr/include/freetype||g' \
- ${WRKSRC}/Makefile.in
+ ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e \
+ 's|-I/usr/include/freetype||g' ${WRKSRC}/Makefile.in
.include <bsd.port.mk>