Use MAKE_ARGS

This commit is contained in:
Volker Stolz 2005-10-13 10:26:08 +00:00
parent 07f2dfab0e
commit d715e6a481
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=145236
6 changed files with 6 additions and 44 deletions

View file

@ -17,6 +17,8 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= NuFX archive utility
WRKSRC= ${WRKDIR}/nulib
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}"
MAN1= nulib.1
PLIST_FILES= bin/nulib

View file

@ -1,21 +0,0 @@
--- Makefile.orig Sun Oct 19 01:04:35 2003
+++ Makefile Sun Oct 19 01:04:55 2003
@@ -36,16 +36,15 @@
# HPUX cc (v10.10)
#
-CC = cc
+CC ?= cc
# Select appropriate flag... -g for debugging, -O for optimized.
#OPTIMIZE = -g
#OPTIMIZE = -p
-OPTIMIZE = -O
GCC_PARANOIA = -Wall -Wtraditional \
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
DEFINES =
-CFLAGS = $(DEFINES) $(OPTIMIZE) $(EFT) # $(GCC_PARANOIA)
+CFLAGS += $(DEFINES) $(EFT) # $(GCC_PARANOIA)
LDFLAGS =
LIBS =

View file

@ -21,8 +21,10 @@ RUN_DEPENDS= ${BUILD_DEPENDS}
NO_LATEST_LINK= yes
USE_GNOME= gnometarget
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-default-config-file=${PREFIX}/etc/rvm.conf
MAKE_ARGS= CXXFLAGS="${CXXFLAGS}"
MAN1= rvm.1
PLIST_FILES= bin/rvm

View file

@ -1,11 +0,0 @@
--- Makefile.in.orig Thu Mar 25 00:19:43 2004
+++ Makefile.in Sat Apr 3 21:35:46 2004
@@ -75,7 +75,7 @@
install_sh = @install_sh@
local_rsync = @local_rsync@
-CXXFLAGS = -g -Wall
+CXXFLAGS = @CXXFLAGS@
bin_PROGRAMS = rvm

View file

@ -13,6 +13,8 @@ MASTER_SITES= http://ed.zehome.com/cpige/
MAINTAINER= ports@FreeBSD.org
COMMENT= Icecast/Shoutcast stream ripper
MAKE_ARGS= CC="${CC}" CLIBS="${LDFLAGS}" CFLAGS="${CFLAGS}"
PLIST_FILES= bin/${PORTNAME}
do-install:

View file

@ -1,12 +0,0 @@
--- Makefile.orig Sun Mar 27 14:57:32 2005
+++ Makefile Sun Mar 27 14:57:58 2005
@@ -1,6 +1,6 @@
-CC=gcc
-CLIBS=
-CFLAGS=-Wall
+CC?=gcc
+CLIBS=${LDFLAGS}
+CFLAGS+=-Wall
all: debug
$(CC) $(CLIBS) $(CFLAGS) debug.o cpige.c -o cpige