- Remove duplicates from MAKE_ENV after inclusion of CC and CXX in default MAKE_ENV

This commit is contained in:
Pav Lucistnik 2008-07-25 12:48:47 +00:00
parent 8c8dbd7325
commit 2f35b73926
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=217479
44 changed files with 25 additions and 58 deletions

View file

@ -25,7 +25,6 @@ WRKSRC= ${WRKDIR}/bro-${PORTVERSION}.1
USE_BISON= build
USE_LDCONFIG= ${PREFIX}/share
GNU_CONFIGURE= yes
MAKE_ENV+= CC="${CC}"
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --libdir=${PREFIX}/share
USE_PERL5= yes

View file

@ -48,7 +48,6 @@ EXTRACONFIGURE+= enable-camellia
.endif
MAKE_ARGS+= WHOLE_ARCHIVE_FLAG=--whole-archive
MAKE_ENV+= MANPREFIX=${MANPREFIX}
NOPRECIOUSMAKEVARS= Too many _MLINKS for fetch
NOPRECIOUSSOFTMAKEVARS= Too many _MLINKS for fetch
USE_PERL5_BUILD= yes

View file

@ -18,7 +18,6 @@ COMMENT= Printer Job Language library and tool
NO_WRKSUBDIR= yes
ALL_TARGET= libPJL.a
USE_GMAKE= yes
MAKE_ENV= CXX="${CXX}"
PLIST_FILES= bin/pft lib/libPJL.a

View file

@ -20,7 +20,7 @@ WRKSRC= ${WRKDIR}/src
MAKEFILE= makefile
ALL_TARGET= freebsd-${MACHINE_ARCH}
MAKE_ENV= PREFIX="${PREFIX}" OS_CFLAGS="${CFLAGS}"
MAKE_ENV= OS_CFLAGS="${CFLAGS}"
PGPLIB= ${PREFIX}/share/pgp
MAN1= pgp.1 pgp2.1
ONLY_FOR_ARCHS= i386 alpha

View file

@ -13,7 +13,7 @@ MASTER_SITES= http://cr.yp.to/mac/
MAINTAINER= roam@FreeBSD.org
COMMENT= The poly1305 message authentication reference implementation using AES
MAKE_ENV+= CC="${CC} ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} ${STRIP}"
CC+= ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} ${STRIP}
ALL_TARGET= default
REPLACE_HDRS= aes.h cpucycles.h poly1305aes.h

View file

@ -15,7 +15,6 @@ DISTNAME= ${PORTNAME}-1.04
MAINTAINER= araujo@FreeBSD.org
COMMENT= An FTP proxy that wraps data and control with TLS/SSL
MAKE_ENV+= CC="${CC}"
GNU_CONFIGURE= yes
USE_OPENSSL= yes

View file

@ -15,7 +15,7 @@ COMMENT= A command-line utility for generating and checking TTH message digests
USE_GMAKE= yes
MAKE_ENV= CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
MAKE_ENV= LDFLAGS="${LDFLAGS}"
PORTDOCS= Changelog.txt
PLIST_FILES= bin/tthsum

View file

@ -30,8 +30,7 @@ OPTIONS+= DECRYPT "cisco-decypt password decrypt utility" on
OPTIONS+= SSL "OpenSSL certificate support (hybrid only)" off
OPTIONS+= CISCOVERSION "Mask linux presentation string" off
MAKE_ENV+= LDFLAGS="${LDFLAGS}" CFLAGS="${CFLAGS}" CC="${CC}" \
BINS="${EXTRABUILDS}"
MAKE_ENV+= LDFLAGS="${LDFLAGS}" BINS="${EXTRABUILDS}"
.include <bsd.port.pre.mk>

View file

@ -34,7 +34,7 @@ RESTRICTED= Source recipient must acknowledge license
FETCH_ENV= HTTP_AUTH='basic:*:I accept www.opensource.org/licenses/cpl:.'
FETCH_CMD= /usr/bin/fetch -Rr # see bin/76134
NO_WRKSUBDIR= yes
MAKE_ENV= CCFLAGS="${CFLAGS}" SHELL="${SH}"
MAKE_ENV= CCFLAGS="${CFLAGS}"
.if defined(WANT_STATIC)
MAKE_ENV+= LDFLAGS=-static
.endif

View file

@ -20,7 +20,6 @@ MAN5= anacrontab.5
USE_GMAKE= yes
USE_RC_SUBR= anacron.sh
SUB_FILES= pkg-message
MAKE_ENV= CC="${CC}"
post-patch:
.for f in Makefile anacron.8 anacrontab.5

View file

@ -19,8 +19,6 @@ WITH_BAT= yes
MAN1= bat.1
MAKE_ARGS= -E MAN1
MAKE_ENV= MAN1="${MAN1}"
MAKE_ENV+= MAKEOBJDIRPREFIX=/
MASTERDIR= ${.CURDIR}/../../sysutils/bacula-server

View file

@ -27,7 +27,7 @@ NO_PACKAGE= depends on kernel
PLIST_SUB= KMODDIR="${KMODDIR:C,^/,,}"
KMODDIR= /boot/modules
MAKE_ENV+= KMODDIR="${KMODDIR}"
MAKE_ENV+= KMODDIR="${KMODDIR}" BINDIR="${PREFIX}/bin"
STAMPFILE= ${LOCALBASE}/share/${PORTNAME}/.do_not_delete
@ -50,9 +50,6 @@ PLIST_SUB+= EXTRACTOR=""
PLIST_SUB+= EXTRACTOR="@comment "
.endif
MAKE_ENV+= KMODDIR="${KMODDIR}" \
BINDIR="${PREFIX}/bin"
.if !exists(${SRC_BASE}/sys/Makefile)
IGNORE= requires kernel source to be installed
.endif

View file

@ -51,7 +51,7 @@ BINMODE= 4511
BINMODE= 2511
.endif
MAKE_ENV+= CC="${CC}" LOCALEDIR=${PREFIX}/share/locale
MAKE_ENV+= LOCALEDIR=${PREFIX}/share/locale
CFLAGS+= -DSYSTEM_THEMES_DIR='\"${PREFIX}/share/gkrellm/themes\"' \
-DSYSTEM_PLUGINS_DIR='\"${PREFIX}/libexec/gkrellm/plugins\"'

View file

@ -84,7 +84,7 @@ ALL_TARGET= freebsd
INSTALL_TARGET= install_freebsd
.endif
MAKE_ENV+= CC="${CC}" INSTALLROOT=${LOCALBASE} INSTALLDIR=${LOCALBASE}/bin \
MAKE_ENV+= INSTALLROOT=${LOCALBASE} INSTALLDIR=${LOCALBASE}/bin \
PKGCONFIGDIR=${LOCALBASE}/libdata/pkgconfig \
SINSTALLROOT=${PREFIX} SINSTALLDIR=${PREFIX}/sbin \
SPKGCONFIGDIR=${PREFIX}/libdata/pkgconfig \

View file

@ -18,7 +18,7 @@ USE_GNOME= gtk20 pkgconfig intlhack gnomehier
USE_GMAKE= yes
USE_GETTEXT= yes
MAKE_ENV= PREFIX=${PREFIX} DESKTOPPATH=${DESKTOPDIR}
MAKE_ENV= DESKTOPPATH=${DESKTOPDIR}
MAKE_ARGS= CFLAGS="${CFLAGS}"
CFLAGS+= ${PTHREAD_CFLAGS} ${PTHREAD_LIBS:S/"//g} \
`pkg-config --cflags gtk+-2.0` \

View file

@ -18,8 +18,6 @@ BUILD_DEPENDS= xosd-config:${PORTSDIR}/misc/xosd
PLIST_FILES= bin/nbosd
PORTDOCS= *
MAKE_ENV+= PREFIX=${PREFIX}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/nbosd ${PREFIX}/bin

View file

@ -18,7 +18,7 @@ COMMENT= Utility to render graphical statistics for pf
LIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd
MAKE_ARGS= "LD_GD=gd"
MAKE_ENV+= CFLAGS="${CFLAGS}" CC="${CC}" __MAKE_CONF=/dev/null
MAKE_ENV+= __MAKE_CONF=/dev/null
USE_ICONV= yes
MAN8= pfstat.8 \

View file

@ -41,7 +41,7 @@ MAKE_ARGS= LOCALBASE="${PREFIX}" OSLEVEL=41
CFLAGS+= -DHAVE_ALTQ=1
.endif
MAKE_ENV+= CC="${CC}" CFLAGS="${CFLAGS}" __MAKE_CONF=/dev/null
MAKE_ENV+= __MAKE_CONF=/dev/null
PLIST_FILES= sbin/pftop

View file

@ -15,8 +15,7 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= mmendez@energyhq.be
COMMENT= Qt/Gtk+/ncurses rc.conf editor/management tool
MAKE_ENV= PTHREAD_LIBS="${PTHREAD_LIBS}" \
LOCALBASE="${LOCALBASE}"
MAKE_ENV= PTHREAD_LIBS="${PTHREAD_LIBS}"
WANT_GNOME= yes

View file

@ -26,7 +26,6 @@ USE_GMAKE= yes
USE_XORG= x11
USE_SUBMAKE= yes
MAKE_ENV+= X11BASE=${X11BASE}
.if defined(AFMPATH)
MAKE_ENV+= AFMPATH=${AFMPATH}
.endif

View file

@ -23,7 +23,6 @@ PORTDOCS= COPYING ChangeLog Emacs Exmh FAQ History Mozilla Mutt Netscape \
QandA ReadMe antiword.1 antiword.man antiword.php testdoc.doc
CFLAGS+= -DNDEBUG
MAKE_ENV+= CC="${CC}"
post-patch:
@${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} \

View file

@ -22,7 +22,6 @@ COMMENT= Convert LaTeX to HTML
BUILD_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml
PLIST_SUB= HEVEAVERSION=${PORTVERSION}
MAKE_ENV= PREFIX=${PREFIX}
.include <bsd.port.pre.mk>

View file

@ -17,7 +17,6 @@ COMMENT= HTML Help Maker
LIB_DEPENDS= lzxcomp.1:${PORTSDIR}/archivers/liblzxcomp
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
MAKE_ENV= PREFIX=${PREFIX}
PLIST_FILES= bin/hhm

View file

@ -17,7 +17,7 @@ COMMENT= L2a - LaTeX to ASCII converter
USE_ZIP= yes
WRKSRC= ${WRKDIR}
MAKE_ENV= PREFIX="${PREFIX}" INSTALL_PROGRAM="${INSTALL_PROGRAM}" INSTALL_MAN="${INSTALL_MAN}"
MAKE_ENV= INSTALL_PROGRAM="${INSTALL_PROGRAM}" INSTALL_MAN="${INSTALL_MAN}"
MAN1= l2a.1
PLIST_FILES= bin/l2a

View file

@ -13,8 +13,6 @@ MASTER_SITES= SF
MAINTAINER= skv@FreeBSD.org
COMMENT= Small, simple and fast CSV library
MAKE_ENV= PREFIX=${PREFIX}
USE_LDCONFIG= YES
SHLIB_MAJOR= 2
PLIST_SUB= SHLIB_MAJOR="${SHLIB_MAJOR}"

View file

@ -14,7 +14,6 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= A tool for guessing a text's charset and language
CFLAGS+= -DUDM_GUESSER_STANDALONG -DLMDIR=\"${PREFIX}/share/mguesser\"
MAKE_ENV+= CFLAGS="${$CFLAGS}"
post-patch:
${REINPLACE_CMD} -E \

View file

@ -17,7 +17,6 @@ MAINTAINER= skv@FreeBSD.org
COMMENT= Small C++ XML parser
WRKSRC= ${WRKDIR}/${PORTNAME}
MAKE_ENV= PREFIX=${PREFIX}
USE_LDCONFIG= YES
SHLIB_MAJOR= 2

View file

@ -31,8 +31,9 @@ WRKSRC= ${WRKDIR}/xmlada-gnat-5_04a
CONFLICTS= xmlada-[0-9]*
CC= ${LOCALBASE}/bin/gcc41/gcc41
CONFIGURE_ENV+= PATH=${LOCALBASE}/bin/gcc41:${PATH} CC=${LOCALBASE}/bin/gcc41/gcc41
MAKE_ENV+= PATH=${LOCALBASE}/bin/gcc41:${PATH} CC=${LOCALBASE}/bin/gcc41/gcc41
MAKE_ENV+= PATH=${LOCALBASE}/bin/gcc41:${PATH}
USE_GMAKE= yes
GNU_CONFIGURE= yes

View file

@ -17,8 +17,6 @@ PLIST_FILES= bin/dfileserver
WRKSRC= ${WRKDIR}/${PORTNAME}
MAKE_ENV= CXX=${CXX}
post-patch:
${REINPLACE_CMD} 's,g++,${CXX},;s,$$GCCFLAGS,${CXXFLAGS},; \
s,strip,${STRIP_CMD},' ${WRKSRC}/build.sh

View file

@ -22,7 +22,6 @@ USE_GETTEXT= yes
USE_PERL5_BUILD=yes
USE_SQLITE= yes
USE_RUBY= yes
MAKE_ENV= CXX="${CXX}"
MAN1= newsbeuter.1 podbeuter.1

View file

@ -15,7 +15,6 @@ MAINTAINER= frank@pinky.sax.de
COMMENT= A small and fast caching web proxy
MAN1= polipo.1
MAKE_ENV= CC="${CC}"
USE_RC_SUBR= polipo.sh

View file

@ -20,8 +20,7 @@ USE_GMAKE= yes
USE_BISON= build
USE_BZIP2= yes
NO_INSTALL_MANPAGES= yes
MAKE_ENV= CC="${CC}" CXX="${CXX}" \
CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
MAKE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
post-patch:
${REINPLACE_CMD} -e 's|-g |${CFLAGS} ${CPPFLAGS} |' ${WRKSRC}/Makefile \

View file

@ -21,7 +21,7 @@ INSTALL_TARGET= install
CFLAGS+= ${PTHREAD_CFLAGS}
LDFLAGS+= ${PTHREAD_LIBS}
MAKE_ENV= CC=${CC} LDFLAGS="${LDFLAGS}" DOC_DIR="${DOCSDIR}/"
MAKE_ENV= LDFLAGS="${LDFLAGS}" DOC_DIR="${DOCSDIR}/"
MAN1= emelfm2.1
OPTIONS= DEBUG "Enable debugging messages" off \

View file

@ -19,7 +19,6 @@ COMMENT= Filemanager with FTP capabilities. Uses Tcl/Tk
LIB_DEPENDS= tk84.1:${PORTSDIR}/x11-toolkits/tk84
MAKEFILE= Makefile.freebsd_gcc
MAKE_ENV+= LOCALBASE=${LOCALBASE}
pre-build:
# @ ${RM} ${WRKSRC}/ext.so

View file

@ -22,7 +22,7 @@ USE_BZIP2= yes
USE_GMAKE= yes
USE_XORG= x11
MAKE_ENV= LDFLAGS="${LDFLAGS}" CXXFLAGS="${CFLAGS}" CXX="${CXX}"
MAKE_ENV= LDFLAGS="${LDFLAGS}"
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ttmkfdir ${PREFIX}/bin

View file

@ -28,8 +28,6 @@ USE_GNOME= gnomehack gtkhtml3 vte librsvg2 libgnomecanvas \
USE_AUTOTOOLS= libtool:15
MAKE_ENV=MONO_SHARED_DIR=${WRKDIR}
post-patch:
@${FIND} ${WRKSRC} -name '*.pl' | ${XARGS} ${REINPLACE_CMD} -e \
's|^#!/usr/bin/perl|#!${PERL}|'

View file

@ -27,8 +27,9 @@ WRKSRC= ${WRKDIR}/GtkAda-2_8_1
CONFLICTS= gtkada-[0-9]* \
gtkada-devel-[0-9]*
CONFIGURE_ENV+= PATH=${LOCALBASE}/bin/gcc41:${PATH} CC=${LOCALBASE}/bin/gcc41/gcc41
MAKE_ENV+= PATH=${LOCALBASE}/bin/gcc41:${PATH} CC=${LOCALBASE}/bin/gcc41/gcc41
CC= ${LOCALBASE}/bin/gcc41/gcc41
CONFIGURE_ENV+= PATH=${LOCALBASE}/bin/gcc41:${PATH} CC=${CC}
MAKE_ENV+= PATH=${LOCALBASE}/bin/gcc41:${PATH}
CONFIGURE_ARGS= --with-GL=GL
USE_GL= gl glu

View file

@ -23,7 +23,6 @@ USE_DOS2UNIX= Makefile *.cpp *.h *.txt
USE_GMAKE= yes
USE_GL= yes
USE_LDCONFIG= yes
MAKE_ENV+= CXX="${CXX}"
PLIST_SUB+= SHARED_LIB_VER=${SHARED_LIB_VER}
SUB_FILES= pkg-message

View file

@ -24,7 +24,6 @@ USE_GMAKE= yes
USE_ICONV= yes
MAKEFILE= makefile
USE_LDCONFIG= yes
MAKE_ENV= CC="${CC}" CXX="${CXX}"
.if defined(WITH_GTK2)
USE_GNOME= gtk20

View file

@ -24,8 +24,7 @@ PKGMESSAGE= ${WRKDIR}/pkg-message
USE_XORG= x11 xext
USE_GL= gl
USE_GMAKE= yes
MAKE_ENV= CXX="${CXX}" \
PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
MAKE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS="${PTHREAD_LIBS}"
OPTIONS= ADDONS "Install the helper scripts and manpages" on

View file

@ -19,7 +19,7 @@ COMMENT= A library for writing custom applets for GNOME Control Center
USE_BZIP2= yes
USE_GNOME= gnomelibs
USE_LDCONFIG= yes
MAKE_ENV= LOCALBASE="${LOCALBASE}" LDFLAGS="${LDFLAGS}"
MAKE_ENV= LDFLAGS="${LDFLAGS}"
.include <bsd.port.pre.mk>

View file

@ -23,7 +23,6 @@ PLIST_FILES= bin/nvidia-settings
MAN1= nvidia-settings.1
MAKE_ENV= ROOT=${PREFIX} \
CC=${CC} \
X11R6_LIB_DIR=${LOCALBASE}/lib \
X11R6_INC_DIR=${LOCALBASE}/include \
LDFLAGS="${PTHREAD_LIBS}"

View file

@ -17,8 +17,7 @@ COMMENT= Tool to manipulate X configuration files for the NVidia driver
USE_GMAKE= yes
MAKE_ENV= ROOT=${PREFIX} \
CC=${CC}
MAKE_ENV= ROOT=${PREFIX}
MAN1= nvidia-xconfig.1
PLIST_FILES= bin/nvidia-xconfig

View file

@ -19,7 +19,7 @@ COMMENT= An easy to use gtk program for configuring Xbindkeys
RUN_DEPENDS= ${LOCALBASE}/bin/xbindkeys:${PORTSDIR}/x11/xbindkeys
USE_GNOME= gtk20
MAKE_ENV= CC="${CC} ${CFLAGS}"
CC+= ${CFLAGS}
PLIST_FILES= bin/xbindkeys_config