summaryrefslogtreecommitdiff
path: root/misc/root/Makefile
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2011-12-15 18:51:43 +0000
committerdholland <dholland@pkgsrc.org>2011-12-15 18:51:43 +0000
commit34da7095319f2e77d49f4e13f982fee833121774 (patch)
tree08c9834ff5b064c5f7ff292c1b229d99d3a21ed2 /misc/root/Makefile
parenta4e31997e206b60b6884cec44e4c5787d1e2f317 (diff)
downloadpkgsrc-34da7095319f2e77d49f4e13f982fee833121774.tar.gz
Fix up problems finding libraries. Now it passes configure, but it looks
like it needs png patches to build.
Diffstat (limited to 'misc/root/Makefile')
-rw-r--r--misc/root/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/misc/root/Makefile b/misc/root/Makefile
index c1cf90e6a51..f5a90b137b3 100644
--- a/misc/root/Makefile
+++ b/misc/root/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.42 2011/12/14 15:01:41 dholland Exp $
+# $NetBSD: Makefile,v 1.43 2011/12/15 18:51:43 dholland Exp $
DISTNAME= root_v5.26.00b.source
PKGNAME= root-5.26
@@ -28,13 +28,16 @@ INSTALLATION_DIRS= bin
HAS_CONFIGURE= yes
CONFIGURE_ARGS+= ${LOWER_OPSYS}
CONFIGURE_ARGS+= --prefix=${PREFIX} --mandir=${PREFIX}/${PKGMANDIR}/man1
-CONFIGURE_ENV+= LOCALBASE=${LOCALBASE}
+CONFIGURE_ENV+= LOCALBASE=${LOCALBASE} X11BASE=${X11BASE}
CONFIGURE_ARGS+= --enable-soversion
CONFIGURE_ARGS+= --disable-builtin-pcre
CONFIGURE_ARGS+= --disable-builtin-freetype
# clarens needs xmlrpc-c, the pkgsrc version is incompatible
CONFIGURE_ARGS+= --disable-clarens
+CONFIGURE_ARGS+= --with-x11-libdir=${BUILDLINK_PREFIX.libX11}/lib
+CONFIGURE_ARGS+= --with-xpm-libdir=${BUILDLINK_PREFIX.libXpm}/lib
+
# option, requires libxml2
CONFIGURE_ARGS+= --disable-xml
#.include "../../textproc/libxml2/buildlink3.mk"
@@ -60,4 +63,5 @@ post-extract:
.include "../../x11/libXmu/buildlink3.mk"
.include "../../x11/libXi/buildlink3.mk"
.include "../../x11/libXft/buildlink3.mk"
+.include "../../x11/libX11/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"