diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2008-03-30 09:36:46 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2008-03-30 09:36:46 +0000 |
commit | 50179d15670aa6b75dfa5fa9f59ee1ea0492b31d (patch) | |
tree | cbb2bb5845d1a05660a0b1b05a9d0ced2987a82a /graphics | |
parent | 5301793045be4cb5eff06ae7364ea01dddc056c5 (diff) |
Notes
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/gd/Makefile | 14 | ||||
-rw-r--r-- | graphics/gimageview/Makefile | 2 | ||||
-rw-r--r-- | graphics/gtkdps/Makefile | 4 | ||||
-rw-r--r-- | graphics/ruby-gd/Makefile | 4 |
4 files changed, 12 insertions, 12 deletions
diff --git a/graphics/gd/Makefile b/graphics/gd/Makefile index 16c635d6a382..faaafd6a967e 100644 --- a/graphics/gd/Makefile +++ b/graphics/gd/Makefile @@ -43,17 +43,17 @@ OPTIONS= X11 "X11 support" off \ .if defined(WITH_XPM) USE_XORG= xpm x11 -CPPFLAGS+= -I${X11BASE}/include/X11 -I${X11BASE}/include -DHAVE_LIBXPM -LDFLAGS+= -L${X11BASE}/lib -lXpm -lX11 -LDFLAGS2+= -L${X11BASE}/lib +CPPFLAGS+= -I${LOCALBASE}/include/X11 -I${LOCALBASE}/include -DHAVE_LIBXPM +LDFLAGS+= -L${LOCALBASE}/lib -lXpm -lX11 +LDFLAGS2+= -L${LOCALBASE}/lib FEATURES+= GD_XPM .endif .if defined(WITH_FONTCONFIG) LIB_DEPENDS+= fontconfig.1:${PORTSDIR}/x11-fonts/fontconfig -CPPFLAGS+= -I${X11BASE}/include -DHAVE_LIBFONTCONFIG -DHAVE_PTHREAD ${PTHREAD_CFLAGS} -LDFLAGS+= ${PTHREAD_LIBS} -L${X11BASE}/lib -lfontconfig -LDFLAGS2+= ${PTHREAD_LIBS} -L${X11BASE}/lib +CPPFLAGS+= -I${LOCALBASE}/include -DHAVE_LIBFONTCONFIG -DHAVE_PTHREAD ${PTHREAD_CFLAGS} +LDFLAGS+= ${PTHREAD_LIBS} -L${LOCALBASE}/lib -lfontconfig +LDFLAGS2+= ${PTHREAD_LIBS} -L${LOCALBASE}/lib FEATURES+= GD_FONTCONFIG .endif @@ -70,7 +70,7 @@ USE_PERL5_BUILD= yes SCRIPTS_ENV+= GD_FONTS="${GD_FONTS}" .endif -FONTBASE= ${X11BASE}/lib/X11/fonts +FONTBASE= ${LOCALBASE}/lib/X11/fonts pre-extract:: @${ECHO_MSG} "" diff --git a/graphics/gimageview/Makefile b/graphics/gimageview/Makefile index 848c07fed52c..7fdfd2518ccf 100644 --- a/graphics/gimageview/Makefile +++ b/graphics/gimageview/Makefile @@ -58,7 +58,7 @@ WITH_LIBMNG= yes WITH_LIBWMF= yes .endif -.if exists(${X11BASE}/lib/librsvg.so.1) +.if exists(${LOCALBASE}/lib/librsvg.so.1) WITH_LIBRSVG= yes .endif diff --git a/graphics/gtkdps/Makefile b/graphics/gtkdps/Makefile index 56499466d9ea..663e9e79969d 100644 --- a/graphics/gtkdps/Makefile +++ b/graphics/gtkdps/Makefile @@ -23,8 +23,8 @@ USE_GNOME= gtk12 GNU_CONFIGURE= yes USE_AUTOTOOLS= libtool:15 USE_LDCONFIG= yes -CONFIGURE_ARGS= --with-dps-includes=${X11BASE}/include \ - --with-dps-libraries=${X11BASE}/lib +CONFIGURE_ARGS= --with-dps-includes=${LOCALBASE}/include \ + --with-dps-libraries=${LOCALBASE}/lib CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" diff --git a/graphics/ruby-gd/Makefile b/graphics/ruby-gd/Makefile index 682cab9434b4..4eb1fb5e3633 100644 --- a/graphics/ruby-gd/Makefile +++ b/graphics/ruby-gd/Makefile @@ -46,7 +46,7 @@ WITH_X11_CHECK= # empty .if !empty(WITH_X11_CHECK) USE_XORG= xpm x11 PKGNAMESUFFIX_XPM= +xpm -CONFIGURE_ARGS+= --with-X11-dir="${X11BASE}" --with-xpm +CONFIGURE_ARGS+= --with-X11-dir="${LOCALBASE}" --with-xpm .endif EXAMPLES_EN= example.rb \ @@ -63,7 +63,7 @@ DOCS_JA= readme.ja \ doc/INSTALL.ja post-patch: - ${RUBY} -i -pe 'sub %r:/win98/windows/FONTS:, "${X11BASE}/lib/X11/fonts/TrueType"' ${WRKSRC}/sample/gdtestttf.rb + ${RUBY} -i -pe 'sub %r:/win98/windows/FONTS:, "${LOCALBASE}/lib/X11/fonts/TrueType"' ${WRKSRC}/sample/gdtestttf.rb .if defined(WITH_GD1) ${RUBY} -i -pe 'sub %r:%%GD%%:, "gd1"' ${WRKSRC}/extconf.rb .else |