aboutsummaryrefslogtreecommitdiffstats
path: root/games/noegnud-littlehack
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-11-03 05:54:04 +0800
committerpav <pav@FreeBSD.org>2005-11-03 05:54:04 +0800
commit91b4bfc202b05a1e59177ffb058d0306c889d915 (patch)
treefad5f5e85ee0faee3beadb82858ca184eb946edf /games/noegnud-littlehack
parent2dc58ca2cea3c158507c23749d19d75d30041dbd (diff)
downloadfreebsd-ports-gnome-91b4bfc202b05a1e59177ffb058d0306c889d915.tar.gz
freebsd-ports-gnome-91b4bfc202b05a1e59177ffb058d0306c889d915.tar.zst
freebsd-ports-gnome-91b4bfc202b05a1e59177ffb058d0306c889d915.zip
- Respect X11BASE
PR: ports/88206 Submitted by: Li-Lun Wang (Leland Wang) <llwang@infor.org> (maintainer)
Diffstat (limited to 'games/noegnud-littlehack')
-rw-r--r--games/noegnud-littlehack/files/noegnud-littlehack.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/noegnud-littlehack/files/noegnud-littlehack.patch b/games/noegnud-littlehack/files/noegnud-littlehack.patch
index e9adcf6e2df8..7cc51e5b48fe 100644
--- a/games/noegnud-littlehack/files/noegnud-littlehack.patch
+++ b/games/noegnud-littlehack/files/noegnud-littlehack.patch
@@ -64,7 +64,7 @@ diff -urN variants/littlehack-0.0.1.orig/sys/unix/Makefile.src variants/littleha
# compile normally
-COMMON_CFLAGS = -DLITTLEHACK_0_0_1 -fomit-frame-pointer -I../include `sdl-config --cflags`
-+COMMON_CFLAGS = -DLITTLEHACK_0_0_1 -fomit-frame-pointer -I../include -I/usr/include/gnu `${SDL_CONFIG} --cflags` -I/usr/X11R6/include
++COMMON_CFLAGS = -DLITTLEHACK_0_0_1 -fomit-frame-pointer -I../include -I/usr/include/gnu `${SDL_CONFIG} --cflags` -I${X11BASE}/include
STD_CFLAGS = -O2 -ffast-math $(COMMON_CFLAGS)
DBG_CFLAGS = -g -Wall -DNOEGNUDDEBUG $(COMMON_CFLAGS)
@@ -73,7 +73,7 @@ diff -urN variants/littlehack-0.0.1.orig/sys/unix/Makefile.src variants/littleha
+CFLAGS += $(STD_CFLAGS)
-LFLAGS = -L/usr/X11R6/lib
-+LFLAGS = -L/usr/X11R6/lib -lgnuregex
++LFLAGS = -L${X11BASE}/lib -lgnuregex
# OR compile backwards compatible a.out format
# CFLAGS = -O2 -b i486-linuxaout -fomit-frame-pointer -I../include