mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
Fix build on 4.x.
This commit is contained in:
parent
caf934625c
commit
be80a29f02
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=113466
@ -16,10 +16,11 @@ COMMENT= Chaos map rendering system with GTK+-2 interface
|
||||
USE_BZIP2= yes
|
||||
USE_X_PREFIX= yes
|
||||
USE_GNOME= libglade2
|
||||
USE_GETOPT_LONG=yes
|
||||
|
||||
USE_GMAKE= yes
|
||||
ALL_TARGET= ${PORTNAME}
|
||||
MAKE_ENV+= CPPFLAGS="${CPPFLAGS}"
|
||||
MAKE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- Makefile.orig Sun Jul 11 02:26:40 2004
|
||||
+++ Makefile Sun Jul 11 11:13:07 2004
|
||||
+++ Makefile Mon Jul 12 08:52:21 2004
|
||||
@@ -1,21 +1,21 @@
|
||||
# -march=i686 speeds this up quite a bit on my machine (even more so
|
||||
# than -march=athlon-xp) so if this looks like a recent x86 machine,
|
||||
@ -30,8 +30,12 @@
|
||||
CFLAGS += $(shell pkg-config --cflags $(PKGS))
|
||||
LIBS += $(shell pkg-config --libs $(PKGS))
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
$(CC) -o $@ $(OBJS) $(LIBS)
|
||||
@@ -47,10 +47,10 @@
|
||||
|
||||
|
||||
$(BIN): $(OBJS)
|
||||
- $(CC) -o $@ $(OBJS) $(LIBS)
|
||||
+ $(CC) -o $@ $(OBJS) $(LIBS) $(LDFLAGS)
|
||||
|
||||
%.o: %.c src/*.h
|
||||
- $(CC) -c -o $@ $< $(CFLAGS)
|
||||
|
Loading…
Reference in New Issue
Block a user