summaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authormarino <marino@pkgsrc.org>2012-07-15 09:45:25 +0000
committermarino <marino@pkgsrc.org>2012-07-15 09:45:25 +0000
commit7a516e78d3f75eb1b02264666cb49c77f7f2f8c2 (patch)
treea7ad681f4d91074053087510ff02c72de4fae819 /converters
parentefc67537b06384451064aca166630081b257413d (diff)
downloadpkgsrc-7a516e78d3f75eb1b02264666cb49c77f7f2f8c2.tar.gz
converters/dos2unix: Add rpath to find libintl
Errors seen on DragonFly with PKG_DEVELOPER option: ERROR: bin/dos2unix: missing library: libintl.so.8 ERROR: bin/mac2unix: missing library: libintl.so.8 ERROR: bin/unix2dos: missing library: libintl.so.8 ERROR: bin/unix2mac: missing library: libintl.so.8 Adding an rpath to the build flags in the package makefile fixed it.
Diffstat (limited to 'converters')
-rw-r--r--converters/dos2unix/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/converters/dos2unix/Makefile b/converters/dos2unix/Makefile
index 037812fce6a..e66abed389c 100644
--- a/converters/dos2unix/Makefile
+++ b/converters/dos2unix/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2012/07/09 09:39:06 ryoon Exp $
+# $NetBSD: Makefile,v 1.3 2012/07/15 09:45:25 marino Exp $
#
DISTNAME= dos2unix-6.0
@@ -16,7 +16,7 @@ CONFLICTS= unix2dos-[0-9]*
USE_TOOLS+= gmake msgfmt xgettext perl
-BUILD_MAKE_FLAGS+= LDFLAGS_EXTRA+=-lintl
+BUILD_MAKE_FLAGS+= LDFLAGS_EXTRA+="${COMPILER_RPATH_FLAG}${PREFIX}/lib -lintl"
INSTALL_MAKE_FLAGS+= prefix=${PREFIX}
.include "../../devel/gettext-lib/buildlink3.mk"