$NetBSD: patch-ad,v 1.10 2012/08/17 15:49:35 jperkin Exp $ --- libraries/readline/readline.cabal.orig 2007-12-10 16:20:29.000000000 -0200 +++ libraries/readline/readline.cabal @@ -32,3 +32,4 @@ library includes: HsReadline.h install-includes: HsReadline.h HsReadlineConfig.h c-sources: HsReadline_cbits.c + ld-options: "-Wl,-R@PREFIX@/lib","-L@PREFIX@/lib"