diff options
author | jlam <jlam> | 2008-03-13 21:04:40 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-13 21:04:40 +0000 |
commit | 68860b5da05f67e92a97a4f71d1efe81324e5be3 (patch) | |
tree | 66285d03a11eb6b085fae19ffb25e0ef0dfe2d7f /devel | |
parent | 60b7de34021c05b1ad8ec66b13a303c3060358f2 (diff) | |
download | pkgsrc-68860b5da05f67e92a97a4f71d1efe81324e5be3.tar.gz |
Support user-destdir installation.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/ruby-readline/Makefile | 8 | ||||
-rw-r--r-- | devel/ruby-readline/patches/patch-aa | 22 |
2 files changed, 5 insertions, 25 deletions
diff --git a/devel/ruby-readline/Makefile b/devel/ruby-readline/Makefile index 81ddf878f6c..3624eaceb1e 100644 --- a/devel/ruby-readline/Makefile +++ b/devel/ruby-readline/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.22 2007/03/15 16:42:59 taca Exp $ +# $NetBSD: Makefile,v 1.23 2008/03/13 21:04:40 jlam Exp $ # DISTNAME= ${RUBY_DISTNAME} @@ -10,6 +10,8 @@ MAINTAINER= taca@NetBSD.org HOMEPAGE= ${RUBY_HOMEPAGE} COMMENT= Ruby extension to readline library +PKG_DESTDIR_SUPPORT= user-destdir + RUBY_HAS_ARCHLIB= yes USE_RUBY_EXTCONF= yes EXTRACT_ELEMENTS= ${RUBY_DISTNAME}/ext/readline @@ -18,9 +20,9 @@ WRKSRC= ${RUBY_WRKSRC}/ext/readline RUBY_DOCS= README README.ja post-install: - ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/readline + ${INSTALL_DATA_DIR} ${DESTDIR}${RUBY_DOCDIR}/readline .for f in ${RUBY_DOCS} - ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/readline + ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${RUBY_DOCDIR}/readline .endfor .include "../../devel/readline/buildlink3.mk" diff --git a/devel/ruby-readline/patches/patch-aa b/devel/ruby-readline/patches/patch-aa deleted file mode 100644 index c6fbf4fd766..00000000000 --- a/devel/ruby-readline/patches/patch-aa +++ /dev/null @@ -1,22 +0,0 @@ -$NetBSD: patch-aa,v 1.7 2007/03/15 16:42:59 taca Exp $ - -This patch is generated with "diff -u -U 2". - ---- extconf.rb.orig 2005-05-25 22:01:56.000000000 +0900 -+++ extconf.rb -@@ -16,14 +16,11 @@ def have_readline_var(var) - end - - dir_config('curses') --dir_config('ncurses') - dir_config('termcap') - dir_config("readline") - enable_libedit = enable_config("libedit") - have_library("user32", nil) if /cygwin/ === RUBY_PLATFORM --have_library("ncurses", "tgetnum") || -- have_library("termcap", "tgetnum") || -- have_library("curses", "tgetnum") -+have_library("curses", "tgetnum") - - if enable_libedit - unless (have_readline_header("editline/readline.h") || |