1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

- Fix build after libmytinfo is gone

Reported by:	kris
This commit is contained in:
Rong-En Fan 2007-02-01 20:57:59 +00:00
parent a27d052032
commit d8c957397d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=183887
2 changed files with 4 additions and 4 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= mangband
PORTVERSION= 0.7.0
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= http://mangband.org/download/
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//g}

View File

@ -1,5 +1,5 @@
--- Makefile.orig Sun Mar 5 05:04:02 2000
+++ Makefile Fri Jan 12 00:02:53 2001
--- Makefile.orig Fri Feb 2 04:56:06 2007
+++ Makefile Fri Feb 2 04:56:06 2007
@@ -134,7 +134,7 @@
#
# This is my compiler of choice, it seems to work most everywhere
@ -16,7 +16,7 @@
-CFLAGS = -Wall -g -pipe -D"USE_X11" -D"USE_GCU" -I/usr/include/ncurses
-LIBS = -L/usr/X11R6/lib -lX11 -lncurses
+CFLAGS += -D"USE_X11" -D"USE_GCU" -DDEFAULT_PATH="\"${PREFIX}/lib/mangband\"" -I${X11BASE}/include
+LIBS = -L${X11BASE}/lib -lX11 -lncurses -lmytinfo
+LIBS = -L${X11BASE}/lib -lX11 -lncurses
##