summaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authormarino <marino>2012-07-15 09:45:25 +0000
committermarino <marino>2012-07-15 09:45:25 +0000
commit3a1716ef538e918cbfc1410349fcba650a549670 (patch)
treea7ad681f4d91074053087510ff02c72de4fae819 /converters
parentb5d9db0523d817cc23356e422cd184242e8c854c (diff)
downloadpkgsrc-3a1716ef538e918cbfc1410349fcba650a549670.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"