There is no compelling reason to build this as a static executable.

This commit is contained in:
naddy 2015-01-30 16:46:46 +00:00
parent 3b3a5d87c6
commit d7fec758b9
2 changed files with 11 additions and 8 deletions

View File

@ -1,9 +1,11 @@
# $OpenBSD: Makefile,v 1.28 2014/11/29 19:16:48 naddy Exp $
# $OpenBSD: Makefile,v 1.29 2015/01/30 16:46:46 naddy Exp $
COMMENT= ls that can use color to display file attributes
DISTNAME= ls-5.6
PKGNAME= color${DISTNAME}
VERSION= 5.6
DISTNAME= ls-${VERSION}
PKGNAME= colorls-${VERSION}
REVISION= 0
CATEGORIES= sysutils
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
@ -13,6 +15,8 @@ PERMIT_PACKAGE_CDROM= Yes
MASTER_SITES= http://shell.uugrn.org/~naddy/
WANTLIB= c curses util
WRKDIST= ${WRKDIR}/ls
NO_TEST= Yes

View File

@ -1,8 +1,8 @@
$OpenBSD: patch-Makefile,v 1.10 2013/08/18 15:58:17 mpi Exp $
$OpenBSD: patch-Makefile,v 1.11 2015/01/30 16:46:46 naddy Exp $
--- Makefile.orig Wed Aug 6 21:09:09 2003
+++ Makefile Sun Aug 18 13:13:40 2013
@@ -1,8 +1,13 @@
# $OpenBSD: patch-Makefile,v 1.10 2013/08/18 15:58:17 mpi Exp $
+++ Makefile Fri Jan 30 13:45:36 2015
@@ -1,8 +1,12 @@
# $OpenBSD: patch-Makefile,v 1.11 2015/01/30 16:46:46 naddy Exp $
-PROG= ls
+PROG= colorls
@ -13,7 +13,6 @@ $OpenBSD: patch-Makefile,v 1.10 2013/08/18 15:58:17 mpi Exp $
+MANDIR= ${TRUEPREFIX}/man/man
+
+CFLAGS+= -DCOLORLS
+LDSTATIC=${STATIC}
+DPADD= ${LIBCURSES} ${LIBUTIL}
+LDADD= -lcurses -lutil