respect ${CC}.

This commit is contained in:
lebel 2002-07-17 21:17:10 +00:00
parent 31eea7d635
commit ddad79578f
5 changed files with 13 additions and 10 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.21 2002/03/21 20:35:42 espie Exp $ # $OpenBSD: Makefile,v 1.22 2002/07/17 21:22:01 lebel Exp $
COMMENT= "MIDI to WAV renderer and player" COMMENT= "MIDI to WAV renderer and player"
DISTNAME= timidity-0.2i DISTNAME= timidity-0.2i
@ -33,6 +33,7 @@ MAKE_FLAGS+=-DSLANG
LIB_DEPENDS+=slang.::devel/libslang LIB_DEPENDS+=slang.::devel/libslang
.endif .endif
MAKE_ENV= CC="${CC}"
INSTALL_TARGET= install.all INSTALL_TARGET= install.all
FAKE_FLAGS=PREFIX=${PREFIX} DESTDIR=${WRKINST} ${MAKE_FLAGS} FAKE_FLAGS=PREFIX=${PREFIX} DESTDIR=${WRKINST} ${MAKE_FLAGS}

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.18 2002/05/13 18:50:37 espie Exp $ # $OpenBSD: Makefile,v 1.19 2002/07/17 21:17:10 lebel Exp $
COMMENT= "read CD digital audio data through the SCSI bus" COMMENT= "read CD digital audio data through the SCSI bus"
DISTNAME= tosha-0.6 DISTNAME= tosha-0.6
@ -13,6 +13,6 @@ PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_FREEBSD_LOCAL:=markp/} MASTER_SITES= ${MASTER_SITE_FREEBSD_LOCAL:=markp/}
MAKE_ENV= SYSCONFDIR='${SYSCONFDIR}' MAKE_ENV= SYSCONFDIR='${SYSCONFDIR}' CC="${CC}"
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.2 2002/01/26 14:14:53 wilfried Exp $ # $OpenBSD: Makefile,v 1.3 2002/07/17 21:17:10 lebel Exp $
COMMENT= 'wm-dockapp; audio mixer' COMMENT= 'wm-dockapp; audio mixer'
@ -18,6 +18,7 @@ PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}software/ MASTER_SITES= ${HOMEPAGE}software/
MAKE_ENV= CC="${CC}"
USE_X11= Yes USE_X11= Yes
NO_REGRESS= Yes NO_REGRESS= Yes

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.5 2001/12/22 15:15:54 naddy Exp $ # $OpenBSD: Makefile,v 1.6 2002/07/17 21:19:12 lebel Exp $
COMMENT= "premier dockable radio tuner" COMMENT= "premier dockable radio tuner"
@ -17,6 +17,7 @@ PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}dl/ MASTER_SITES= ${HOMEPAGE}dl/
MAKE_ENV= CC="${CC}"
USE_X11= Yes USE_X11= Yes
FLAVORS= zoltrix FLAVORS= zoltrix

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-Makefile,v 1.2 2001/12/20 21:18:02 naddy Exp $ $OpenBSD: patch-Makefile,v 1.3 2002/07/17 21:19:12 lebel Exp $
--- Makefile.orig Mon Mar 1 16:01:17 1999 --- Makefile.orig Mon Mar 1 06:01:17 1999
+++ Makefile Fri Dec 7 14:49:42 2001 +++ Makefile Wed Jul 17 17:01:14 2002
@@ -1,24 +1,21 @@ @@ -1,24 +1,21 @@
-RADIOCARD = ZOLTRIX # Can be RADIOTRACK, ZOLTRIX, KERNEL -RADIOCARD = ZOLTRIX # Can be RADIOTRACK, ZOLTRIX, KERNEL
-INCDIR = -I/usr/X11R6/include -INCDIR = -I/usr/X11R6/include
@ -18,11 +18,11 @@ $OpenBSD: patch-Makefile,v 1.2 2001/12/20 21:18:02 naddy Exp $
all: wmtune all: wmtune
+.c.o: +.c.o:
+ cc $(CFLAGS) -c $< -o $@ + $(CC) $(CFLAGS) -c $< -o $@
+ +
wmtune: $(OBJS) wmtune: $(OBJS)
- cc -o wmtune $^ $(LIBDIR) $(LIBS) - cc -o wmtune $^ $(LIBDIR) $(LIBS)
+ cc -o wmtune $(OBJS) $(LIBDIR) $(LIBS) + $(CC) -o wmtune $(OBJS) $(LIBDIR) $(LIBS)
install:: all install:: all
- install -s -m 4755 -o root wmtune /usr/X11R6/bin - install -s -m 4755 -o root wmtune /usr/X11R6/bin