diff options
author | Yen-Ming Lee <leeym@FreeBSD.org> | 2005-02-13 04:00:13 +0000 |
---|---|---|
committer | Yen-Ming Lee <leeym@FreeBSD.org> | 2005-02-13 04:00:13 +0000 |
commit | 478f5206741ebed01484c48cf5fcd4fa0cc21796 (patch) | |
tree | 7bdbd3d167d33cf8ffd586513b0447fa5319049c /misc/gnuls | |
parent | Add a patch to work around on 4-stable (perl-5.00503's Fcntl.pm does (diff) |
- fix pkg-plist and unbreak the port
PR: 77435
Submitted by: Brian Clapper <bmc at clapper.org>
Notes
Notes:
svn path=/head/; revision=128667
Diffstat (limited to 'misc/gnuls')
-rw-r--r-- | misc/gnuls/Makefile | 7 | ||||
-rw-r--r-- | misc/gnuls/files/patch-ai | 33 |
2 files changed, 37 insertions, 3 deletions
diff --git a/misc/gnuls/Makefile b/misc/gnuls/Makefile index e574df4e9d2f..61ed0f4b53e8 100644 --- a/misc/gnuls/Makefile +++ b/misc/gnuls/Makefile @@ -16,15 +16,16 @@ MAINTAINER= bmc@clapper.org COMMENT= GNU colorized `ls' GNU_CONFIGURE= yes +CONFIGURE_ARGS= --disable-nls MAN1= gnuls.1 dircolors.1 dir.1 vdir.1 .include <bsd.port.pre.mk> .if ${OSVERSION} > 500019 .if defined(WITH_ACL_SUPPORT) -PATCHFILES= gnuls-acl-20010825.patch -PATCH_SITES= ${MASTER_SITE_LOCAL} -PATCH_SITE_SUBDIR= jedgar +PATCHFILES+= gnuls-acl-20010825.patch +PATCH_SITES+= ${MASTER_SITE_LOCAL} +PATCH_SITE_SUBDIR+= jedgar .else pre-fetch: @${ECHO} "To build this port with ACL support, define" diff --git a/misc/gnuls/files/patch-ai b/misc/gnuls/files/patch-ai new file mode 100644 index 000000000000..cd7bde9a1593 --- /dev/null +++ b/misc/gnuls/files/patch-ai @@ -0,0 +1,33 @@ +*** lib/Makefile.in.orig Sat Feb 12 20:16:15 2005 +--- lib/Makefile.in Sat Feb 12 20:17:13 2005 +*************** +*** 880,899 **** + # On systems with glibc-2.1 or newer, the file is redundant, therefore we + # avoid installing it. + +! all-local: charset.alias ref-add.sed ref-del.sed lstat.c stat.c + install-exec-local: all-local +- $(mkinstalldirs) $(DESTDIR)$(libdir) +- if test -f $(charset_alias); then \ +- sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \ +- $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \ +- rm -f $(charset_tmp) ; \ +- else \ +- if test @GLIBC21@ = no; then \ +- sed -f ref-add.sed charset.alias > $(charset_tmp) ; \ +- $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \ +- rm -f $(charset_tmp) ; \ +- fi ; \ +- fi + + uninstall-local: all-local + if test -f $(charset_alias); then \ +--- 880,887 ---- + # On systems with glibc-2.1 or newer, the file is redundant, therefore we + # avoid installing it. + +! all-local: ref-add.sed ref-del.sed lstat.c stat.c + install-exec-local: all-local + + uninstall-local: all-local + if test -f $(charset_alias); then \ |