summaryrefslogtreecommitdiffstats
path: root/misc/gnuls
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2005-02-13 04:00:13 +0000
committerleeym <leeym@FreeBSD.org>2005-02-13 04:00:13 +0000
commitce7592b3a2b65bce5dbfa8a6621b9c831eb4dd89 (patch)
tree67f1fd4200db2b110db2d42393d96e0186a60fa9 /misc/gnuls
parent0a736a1439bcb54ba111db2b662d6c85cb98f87a (diff)
downloadFreeBSD-ports-ce7592b3a2b65bce5dbfa8a6621b9c831eb4dd89.zip
FreeBSD-ports-ce7592b3a2b65bce5dbfa8a6621b9c831eb4dd89.tar.gz
- fix pkg-plist and unbreak the port
PR: 77435 Submitted by: Brian Clapper <bmc at clapper.org>
Diffstat (limited to 'misc/gnuls')
-rw-r--r--misc/gnuls/Makefile7
-rw-r--r--misc/gnuls/files/patch-ai33
2 files changed, 37 insertions, 3 deletions
diff --git a/misc/gnuls/Makefile b/misc/gnuls/Makefile
index e574df4..61ed0f4 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 0000000..cd7bde9
--- /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 \
OpenPOWER on IntegriCloud