diff options
author | danfe <danfe@FreeBSD.org> | 2009-03-30 18:56:11 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2009-03-30 18:56:11 +0800 |
commit | a0f926d637b1afa10124b4cd4956562a201f2a4c (patch) | |
tree | f2a4f14831c69d7ce2c33ebcdd48f6ae828d6fea /games | |
parent | 5c33cc322f8a980fce0f193aae92b1c557d46163 (diff) | |
download | freebsd-ports-gnome-a0f926d637b1afa10124b4cd4956562a201f2a4c.tar.gz freebsd-ports-gnome-a0f926d637b1afa10124b4cd4956562a201f2a4c.tar.zst freebsd-ports-gnome-a0f926d637b1afa10124b4cd4956562a201f2a4c.zip |
Fix parallel build and mark as MAKE_JOBS_SAFE.
Diffstat (limited to 'games')
-rw-r--r-- | games/frikqcc/Makefile | 1 | ||||
-rw-r--r-- | games/frikqcc/files/Makefile | 6 | ||||
-rw-r--r-- | games/wmqstat/Makefile | 2 | ||||
-rw-r--r-- | games/wmqstat/files/patch-Makefile | 25 |
4 files changed, 21 insertions, 13 deletions
diff --git a/games/frikqcc/Makefile b/games/frikqcc/Makefile index fd4a9e36e248..b7d2cf5658d3 100644 --- a/games/frikqcc/Makefile +++ b/games/frikqcc/Makefile @@ -18,6 +18,7 @@ COMMENT= Advanced QuakeC compiler/decompiler USE_ZIP= yes MAKEFILE= ${FILESDIR}/Makefile +MAKE_JOBS_SAFE= yes PLIST_FILES= bin/frikqcc bin/frikqcdec diff --git a/games/frikqcc/files/Makefile b/games/frikqcc/files/Makefile index e0644ecb4b9e..78d1f98f6345 100644 --- a/games/frikqcc/files/Makefile +++ b/games/frikqcc/files/Makefile @@ -15,12 +15,12 @@ DECOBJS= decompiler/cmdlib.o \ decompiler/main.o .c.o: - ${CC} ${CFLAGS} -c $< -o $*.o + ${CC} ${CFLAGS} -o $@ -c $< all: c dec c: ${COBJS} - ${CC} ${LDFLAGS} -o frikqcc ${COBJS} + ${CC} ${LDFLAGS} -o frikqcc $> dec: ${DECOBJS} - ${CC} ${LDFLAGS} -o frikqcdec ${DECOBJS} + ${CC} ${LDFLAGS} -o frikqcdec $> diff --git a/games/wmqstat/Makefile b/games/wmqstat/Makefile index 43f6673f0801..8214f2b36783 100644 --- a/games/wmqstat/Makefile +++ b/games/wmqstat/Makefile @@ -17,13 +17,13 @@ COMMENT= A dockapp for monitoring of various Internet game servers RUN_DEPENDS= qstat:${PORTSDIR}/games/qstat USE_XORG= xpm x11 xext +MAKE_JOBS_SAFE= yes PLIST_FILES= bin/${PORTNAME} PORTDOCS= README do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin - .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} diff --git a/games/wmqstat/files/patch-Makefile b/games/wmqstat/files/patch-Makefile index 28882d2830c9..21cbf9af64ea 100644 --- a/games/wmqstat/files/patch-Makefile +++ b/games/wmqstat/files/patch-Makefile @@ -1,13 +1,13 @@ ---- ./Makefile.orig 2003-04-24 21:31:39.000000000 +0200 -+++ ./Makefile 2008-04-13 13:00:54.000000000 +0200 +--- Makefile.orig ++++ Makefile @@ -1,14 +1,11 @@ -CC = cc -- ++CC ?= cc + -X11BASE = /usr/X11R6 -LDIR = -L${X11BASE}/lib -IDIR = -I${X11BASE}/include -+CC ?= cc - +- -INSTALL = install +LDIR = -L${LOCALBASE}/lib +IDIR = -I${LOCALBASE}/include @@ -19,12 +19,19 @@ OBJS = appcore/wmqstat.o\ appcore/srv_proc.o\ -@@ -23,8 +20,5 @@ - all: ${OBJS} - ${CC} ${CFLAGS} -o wmqstat ${OBJS} ${LDIR} ${LIBS} +@@ -18,13 +15,10 @@ + wmgeneral/list.o + + .c.o: +- ${CC} ${CFLAGS} ${IDIR} -c $< -o $*.o ++ ${CC} ${CFLAGS} ${IDIR} -o $@ -c $< + all: ${OBJS} +- ${CC} ${CFLAGS} -o wmqstat ${OBJS} ${LDIR} ${LIBS} +- -install: - ${INSTALL} -o root -g wheel -m 755 wmqstat ${X11BASE}/bin -- ++ ${CC} ${CFLAGS} -o wmqstat $> ${LDIR} ${LIBS} + clean: rm -f wmqstat appcore/*.o wmgeneral/*.o core |