Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Feb 2016 22:34:56 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r408115 - in head/games/yahtzee: . files
Message-ID:  <201602042234.u14MYuGU051206@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Thu Feb  4 22:34:56 2016
New Revision: 408115
URL: https://svnweb.freebsd.org/changeset/ports/408115

Log:
  games/yahtzee: USES+= ncurses, respect LDFLAGS

Modified:
  head/games/yahtzee/Makefile
  head/games/yahtzee/files/patch-Makefile

Modified: head/games/yahtzee/Makefile
==============================================================================
--- head/games/yahtzee/Makefile	Thu Feb  4 22:33:18 2016	(r408114)
+++ head/games/yahtzee/Makefile	Thu Feb  4 22:34:56 2016	(r408115)
@@ -11,7 +11,7 @@ DISTNAME=	${PORTNAME}-src
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Curses version of the dice game for one or more players
 
-USES=		tar:Z
+USES=		ncurses tar:Z
 WRKSRC=		${WRKDIR}/${PORTNAME}
 
 do-install:

Modified: head/games/yahtzee/files/patch-Makefile
==============================================================================
--- head/games/yahtzee/files/patch-Makefile	Thu Feb  4 22:33:18 2016	(r408114)
+++ head/games/yahtzee/files/patch-Makefile	Thu Feb  4 22:34:56 2016	(r408115)
@@ -1,17 +1,17 @@
---- Makefile.orig	Sat Jan 25 17:45:26 1992
-+++ Makefile	Wed Nov  8 04:48:42 2000
+--- Makefile.orig	1992-01-25 08:45:26 UTC
++++ Makefile
 @@ -1,4 +1,4 @@
 -CFLAGS =
 +CFLAGS += -DHAS_RENAME -DSCOREDIR=\"/var/games/yahtzee\"
  
  OBJ = computer.o main.o
  
-@@ -7,9 +7,11 @@
+@@ -7,9 +7,11 @@ LIBS = -lcurses
  BIN = yahtzee
  
  $(BIN): $(OBJ)
 -	cc -o $@ $(OBJ) -lcurses
-+	$(CC) -o $@ $(OBJ) -lcurses
++	$(CC) -o $@ $(OBJ) $(LDFLAGS) -lncurses
  
  clean:
  	rm -f $(OBJ) $(BIN)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602042234.u14MYuGU051206>