Skip to content

Commit

Permalink
dvtm: Update to version 0.10. (https://trac.macports.org/ticket/42565)
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@117677 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
mf2k committed Mar 7, 2014
1 parent 5898c0b commit b961917
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
7 changes: 3 additions & 4 deletions sysutils/dvtm/Portfile
Expand Up @@ -4,7 +4,7 @@
PortSystem 1.0

name dvtm
version 0.7
version 0.10
categories sysutils
platforms darwin
maintainers leboulanger.org:harold
Expand All @@ -20,9 +20,8 @@ long_description dvtm brings the concept of tiling window management, \
homepage http://brain-dump.org/projects/dvtm/
master_sites ${homepage}

checksums md5 d8ef63bad5b48324ad040630c51a1c26 \
sha1 f37c57d5395de3fc47b8c05479c7c3c47c637948 \
rmd160 64a3a0213731b5694ddd5dfe0fac02c19160e5a0
checksums rmd160 36f14f5e7da72aeee7ca412d905d7d50047208d4 \
sha256 7750872578e259d86c79277c19f3715c1fd3ff8d4f6c300ff8e12b270db86651

depends_lib port:ncurses

Expand Down
17 changes: 10 additions & 7 deletions sysutils/dvtm/files/patch-src-config.mk.diff
@@ -1,17 +1,20 @@
--- config.mk 2009-07-07 12:29:12.000000000 -0500
+++ config.mk 2009-09-21 10:31:02.000000000 -0500
@@ -6,12 +6,12 @@
--- config.mk 2013-12-28 04:43:43.000000000 -0800
+++ config.mk 2014-02-19 09:51:56.000000000 -0800
@@ -6,7 +6,7 @@
PREFIX = /usr/local
MANPREFIX = ${PREFIX}/share/man

-INCS = -I. -I/usr/include -I/usr/local/include
-INCS = -I. -I/usr/include -I/usr/local/include
+INCS = -I. -I${PREFIX}/include
LIBS = -lc -lutil -lncursesw
#LIBS = -lc -lutil -lncurses
# NetBSD
#LIBS = -lc -lutil -lcurses
@@ -16,7 +16,7 @@
#INCS += -I/usr/include/ncurses

CFLAGS += -std=c99 -Os ${INCS} -DVERSION=\"${VERSION}\" -DNDEBUG
-LDFLAGS += -L/usr/lib -L/usr/local/lib ${LIBS}
+LDFLAGS += -L${PREFIX}/lib ${LIBS}

# Mouse handling
CFLAGS += -DCONFIG_MOUSE
DEBUG_CFLAGS = ${CFLAGS} -UNDEBUG -O0 -g -ggdb -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter

0 comments on commit b961917

Please sign in to comment.