mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
games/yahtzee: USES+= ncurses, respect LDFLAGS
This commit is contained in:
parent
118d0018d2
commit
feb9d6a9e2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=408115
@ -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:
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user