- fix pkg-plist and unbreak the port

PR:		77435
Submitted by:	Brian Clapper <bmc at clapper.org>
This commit is contained in:
Yen-Ming Lee 2005-02-13 04:00:13 +00:00
parent 1e04edb8d9
commit 478f520674
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=128667
2 changed files with 37 additions and 3 deletions

View file

@ -16,15 +16,16 @@ MAINTAINER= bmc@clapper.org
COMMENT= GNU colorized `ls' COMMENT= GNU colorized `ls'
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-nls
MAN1= gnuls.1 dircolors.1 dir.1 vdir.1 MAN1= gnuls.1 dircolors.1 dir.1 vdir.1
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
.if ${OSVERSION} > 500019 .if ${OSVERSION} > 500019
.if defined(WITH_ACL_SUPPORT) .if defined(WITH_ACL_SUPPORT)
PATCHFILES= gnuls-acl-20010825.patch PATCHFILES+= gnuls-acl-20010825.patch
PATCH_SITES= ${MASTER_SITE_LOCAL} PATCH_SITES+= ${MASTER_SITE_LOCAL}
PATCH_SITE_SUBDIR= jedgar PATCH_SITE_SUBDIR+= jedgar
.else .else
pre-fetch: pre-fetch:
@${ECHO} "To build this port with ACL support, define" @${ECHO} "To build this port with ACL support, define"

33
misc/gnuls/files/patch-ai Normal file
View file

@ -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 \