summaryrefslogtreecommitdiff
path: root/games/dungeon/patches/patch-dungeon-gdt_Makefile
blob: 2015980b2ff9627e6532464a4092ded3268e57d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-dungeon-gdt_Makefile,v 1.2 2013/10/17 16:36:07 roy Exp $

Honor pkgsrc's LDFLAGS.

--- dungeon-gdt/Makefile.orig	2009-11-25 19:44:23.000000000 +0000
+++ dungeon-gdt/Makefile
@@ -45,7 +45,7 @@ OBJS += glkstart.o
 CFLAGS += -DPATH_DUNDAT=\"${DATADIR}/\" -DUSE_OS_RANDOM $(GDT_FLAG)
 
 dungeon: $(OBJS)
-	$(CC) $(CFLAGS) -o dungeon $(OBJS) $(LIBS)
+	$(CC) $(LDFLAGS) $(CFLAGS) -o dungeon $(OBJS) $(LIBS)
 
 clean:
 	rm -f *~ *.o dungeon