diff options
author | jperkin <jperkin@pkgsrc.org> | 2016-02-29 12:29:56 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2016-02-29 12:29:56 +0000 |
commit | 7515ebbc3febdf7efcd6466ebafb8de3490f7d5a (patch) | |
tree | 8b5faf93752fd2ebc90ba017292e68143804650f /sysutils/attr | |
parent | 4b94b75500613965486dbcdce1f232c085bcc8ee (diff) | |
download | pkgsrc-7515ebbc3febdf7efcd6466ebafb8de3490f7d5a.tar.gz |
Remove GNU ld arguments on Darwin and SunOS.
Diffstat (limited to 'sysutils/attr')
-rw-r--r-- | sysutils/attr/Makefile | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/sysutils/attr/Makefile b/sysutils/attr/Makefile index b8d9549746c..f3aa537ec0d 100644 --- a/sysutils/attr/Makefile +++ b/sysutils/attr/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2015/03/13 17:13:26 tnn Exp $ +# $NetBSD: Makefile,v 1.3 2016/02/29 12:29:56 jperkin Exp $ ATTR_VERS= 2.4.47 PKGNAME= attr-${ATTR_VERS} @@ -18,15 +18,19 @@ USE_LIBTOOL= yes BUILD_TARGET= default INSTALL_SH_OVERRIDE=no +LDFLAGS.Darwin+= -lintl +LDFLAGS.NetBSD+= -lintl + +SUBST_CLASSES.Darwin+= rmldarg +SUBST_CLASSES.SunOS+= rmldarg +SUBST_STAGE.rmldarg= pre-configure +SUBST_FILES.rmldarg= libattr/Makefile +SUBST_SED.rmldarg= -e '/version-script/d' + pre-install: cd ${WRKSRC}/libattr && env ${MAKE_ENV} \ ${MAKE_PROGRAM} ${INSTALL_MAKE_FLAGS} \ -f ${MAKE_FILE} install-lib -.include "../../mk/bsd.prefs.mk" - -LDFLAGS.NetBSD+= -lintl -#MAKE_ENV+= LTCOMMAND="libtool --install" - .include "../../devel/gettext-lib/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |