diff options
author | abs <abs> | 2002-04-02 14:28:28 +0000 |
---|---|---|
committer | abs <abs> | 2002-04-02 14:28:28 +0000 |
commit | 0a6a1d688ee03a0657fc5550473506dc94cd731b (patch) | |
tree | eb54083aa4dfc0c15b535b612649525ca8b4b651 /devel/readline | |
parent | f2c6e05de0ebff842c5b91fa8fe38dbb90c5494b (diff) | |
download | pkgsrc-0a6a1d688ee03a0657fc5550473506dc94cd731b.tar.gz |
Re-Introduce Linux packages to the wonders of readline
Diffstat (limited to 'devel/readline')
-rw-r--r-- | devel/readline/buildlink.mk | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/devel/readline/buildlink.mk b/devel/readline/buildlink.mk index 90a972773e4..48b58008081 100644 --- a/devel/readline/buildlink.mk +++ b/devel/readline/buildlink.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink.mk,v 1.16 2001/07/27 14:31:44 jlam Exp $ +# $NetBSD: buildlink.mk,v 1.17 2002/04/02 14:28:28 abs Exp $ # # This Makefile fragment is included by packages that use readline(). # @@ -40,8 +40,14 @@ BUILDLINK_FILES.readline+= lib/libreadline.* BUILDLINK_PREFIX.history= ${BUILDLINK_PREFIX.readline} BUILDLINK_FILES.history+= lib/libhistory.* -.else -.if exists(/usr/include/readline.h) +.elif ${OPSYS} == "Linux" +BUILDLINK_PREFIX.readline= /usr +BUILDLINK_FILES.readline= include/readline/* +BUILDLINK_FILES.readline+= lib/libreadline.* + +BUILDLINK_PREFIX.history= /usr +BUILDLINK_FILES.history+= lib/libhistory.* +.elif exists(/usr/include/readline.h) BUILDLINK_PREFIX.readline= /usr BUILDLINK_FILES.readline= include/readline.h BUILDLINK_FILES.readline+= lib/libedit.* @@ -67,7 +73,6 @@ BUILDLINK_FILES.history+= lib/libedit.* BUILDLINK_TRANSFORM.history= -e "s|libedit|libhistory|g" REPLACE_LIBNAMES_SED+= -e "s|-lhistory|-ledit|g" .endif -.endif BUILDLINK_TARGETS.readline= # empty BUILDLINK_TARGETS.readline+= readline-buildlink |