Browse Source

- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)

- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
main
Dmitry Marakasov 10 years ago
parent
commit
6f6fbe4bdf
  1. 7
      Mk/bsd.cmake.mk
  2. 1
      Mk/bsd.database.mk
  3. 6
      Mk/bsd.efl.mk
  4. 1
      Mk/bsd.gnustep.mk
  5. 6
      Mk/bsd.kde.mk
  6. 4
      Mk/bsd.ncurses.mk
  7. 8
      Mk/bsd.openssl.mk
  8. 2
      Mk/bsd.port.mk
  9. 3
      Mk/bsd.qt.mk
  10. 4
      accessibility/accerciser/Makefile
  11. 4
      accessibility/at-poke/Makefile
  12. 4
      accessibility/at-spi/Makefile
  13. 4
      accessibility/at-spi2-atk/Makefile
  14. 4
      accessibility/at-spi2-core/Makefile
  15. 6
      accessibility/atk/Makefile
  16. 4
      accessibility/atkmm/Makefile
  17. 4
      accessibility/dasher/Makefile
  18. 2
      accessibility/eflite/Makefile
  19. 4
      accessibility/gnome-mag/Makefile
  20. 4
      accessibility/gnome-speech/Makefile
  21. 4
      accessibility/gnopernicus/Makefile
  22. 4
      accessibility/gok/Makefile
  23. 4
      accessibility/mousetweaks/Makefile
  24. 4
      accessibility/orca/Makefile
  25. 4
      accessibility/py-atspi/Makefile
  26. 2
      accessibility/speech-dispatcher/Makefile
  27. 4
      archivers/dact/Makefile
  28. 3
      archivers/epkg/Makefile
  29. 4
      archivers/file-roller/Makefile
  30. 1
      archivers/grzip/Makefile
  31. 8
      archivers/gtar/Makefile
  32. 3
      archivers/libarchive/Makefile
  33. 4
      archivers/libcomprex/Makefile
  34. 2
      archivers/liborange/Makefile
  35. 4
      archivers/libpar2/Makefile
  36. 1
      archivers/libunrar/Makefile
  37. 1
      archivers/libunrar4/Makefile
  38. 2
      archivers/lrzip/Makefile
  39. 2
      archivers/lzop/Makefile
  40. 4
      archivers/par2cmdline-tbb/Makefile
  41. 1
      archivers/pxz/Makefile
  42. 4
      archivers/rpm/Makefile
  43. 1
      archivers/rpm4/Makefile
  44. 5
      archivers/rpm5/Makefile
  45. 4
      archivers/unalz/Makefile
  46. 2
      archivers/unmakeself/Makefile
  47. 4
      archivers/xarchiver/Makefile
  48. 4
      astro/celestia/Makefile
  49. 5
      astro/fowsr/Makefile
  50. 6
      astro/glunarclock/Makefile
  51. 4
      astro/gpsdrive/Makefile
  52. 3
      astro/libroadnav/Makefile
  53. 4
      astro/mymoon/Makefile
  54. 4
      astro/nightfall/Makefile
  55. 4
      astro/nova/Makefile
  56. 6
      astro/openuniverse/Makefile
  57. 4
      astro/rmap/Makefile
  58. 3
      astro/roadnav/Makefile
  59. 4
      astro/starplot/Makefile
  60. 4
      astro/viking/Makefile
  61. 4
      astro/xplanet/Makefile
  62. 5
      astro/xtide/Makefile
  63. 1
      audio/adplay/Makefile
  64. 2
      audio/akode-plugins-ffmpeg/Makefile
  65. 2
      audio/akode-plugins-jack/Makefile
  66. 2
      audio/akode-plugins-mpc/Makefile
  67. 2
      audio/akode-plugins-mpeg/Makefile
  68. 2
      audio/akode-plugins-oss/Makefile
  69. 2
      audio/akode-plugins-pulseaudio/Makefile
  70. 2
      audio/akode-plugins-resampler/Makefile
  71. 2
      audio/akode-plugins-xiph/Makefile
  72. 4
      audio/alsa-plugins/Makefile
  73. 6
      audio/alsa-utils/Makefile
  74. 5
      audio/aqualung/Makefile
  75. 4
      audio/audacity-devel/Makefile
  76. 6
      audio/audacity/Makefile
  77. 6
      audio/audiere/Makefile
  78. 4
      audio/aumix/Makefile
  79. 5
      audio/blop/Makefile
  80. 1
      audio/bmp-mac/Makefile
  81. 3
      audio/cantus_3/Makefile
  82. 3
      audio/cowbell/Makefile
  83. 5
      audio/darkice/Makefile
  84. 4
      audio/denemo/Makefile
  85. 1
      audio/dvda-author/Makefile
  86. 4
      audio/easytag-devel/Makefile
  87. 4
      audio/easytag/Makefile
  88. 5
      audio/ecasound/Makefile
  89. 4
      audio/ermixer/Makefile
  90. 3
      audio/espeak/Makefile
  91. 4
      audio/extace/Makefile
  92. 5
      audio/ezstream/Makefile
  93. 4
      audio/faac/Makefile
  94. 4
      audio/faad/Makefile
  95. 8
      audio/firefly/Makefile
  96. 2
      audio/flac/Makefile
  97. 5
      audio/fluidsynth/Makefile
  98. 3
      audio/freealut/Makefile
  99. 5
      audio/ghostess/Makefile
  100. 4
      audio/gigedit/Makefile

7
Mk/bsd.cmake.mk

@ -60,6 +60,9 @@ CMAKE_ARGS+= -DCMAKE_C_COMPILER:STRING="${CC}" \
-DCMAKE_CXX_FLAGS_RELEASE:STRING="${CXXFLAGS}" \
-DCMAKE_INSTALL_PREFIX:PATH="${CMAKE_INSTALL_PREFIX}" \
-DCMAKE_BUILD_TYPE:STRING="${CMAKE_BUILD_TYPE}" \
-DCMAKE_EXE_LINKER_FLAGS="${LDFLAGS}" \
-DCMAKE_SHARED_LINKER_FLAGS="${LDFLAGS}" \
-DCMAKE_MODULE_LINKER_FLAGS="${LDFLAGS}" \
-DTHREADS_HAVE_PTHREAD_ARG:BOOL=YES
#
@ -88,10 +91,10 @@ PLIST_SUB+= CMAKE_BUILD_TYPE="${CMAKE_BUILD_TYPE:L}"
.if defined(CMAKE_USE_PTHREAD)
CFLAGS+= ${PTHREAD_CFLAGS}
CXXFLAGS+= ${PTHREAD_CFLAGS}
LDFLAGS+= ${PTHREAD_LIBS}
CMAKE_ARGS+= -DCMAKE_THREAD_LIBS:STRING="${PTHREAD_LIBS}" \
-DCMAKE_USE_PTHREADS:BOOL=ON \
-DCMAKE_EXE_LINKER_FLAGS:STRING="${PTHREAD_LIBS}"
-DCMAKE_USE_PTHREADS:BOOL=ON
.endif
#

1
Mk/bsd.database.mk

@ -225,7 +225,6 @@ IGNORE= cannot install: unknown PostgreSQL version: ${PGSQL_VER}
.endif # Check for correct version
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
.endif # USE_PGSQL

6
Mk/bsd.efl.mk

@ -520,9 +520,9 @@ LIB_DEPENDS+= ${_${LIB}_SLIB}.${_${LIB}_VERSION}:${PORTSDIR}/${_${LIB}_CATEGORY}
#
# Initialize configure enviropment
#
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
CFLAGS="-I${LOCALBASE}/include ${CFLAGS}" \
LDFLAGS="-L${LOCALBASE}/lib ${LDFLAGS}"
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CFLAGS+= -I${LOCALBASE}/include
PLIST_SUB+= E17_ARCH=freebsd${OSREL}-${ARCH}

1
Mk/bsd.gnustep.mk

@ -452,6 +452,7 @@ do-configure:
@(cd ${CONFIGURE_WRKSRC}; . ${GNUSTEP_MAKEFILES}/GNUstep.sh; \
if ! ${SETENV} CC="${CC}" CXX="${CXX}" \
CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" \
CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \
INSTALL="/usr/bin/install -c -o ${BINOWN} -g ${BINGRP}" \
INSTALL_DATA="${INSTALL} -c" \
INSTALL_PROGRAM="${INSTALL} -c" \

6
Mk/bsd.kde.mk

@ -92,8 +92,9 @@ QTCPPFLAGS+= -D_GETOPT_H # added to work around broken getopt.h #inc
.if !defined (QT_NONSTANDARD)
CONFIGURE_ARGS+=--with-extra-libs="${LOCALBASE}/lib" \
--with-extra-includes="${LOCALBASE}/include"
CONFIGURE_ENV+= MOC="${MOC}" CPPFLAGS="${CPPFLAGS} ${QTCPPFLAGS}" LIBS="${QTCFGLIBS}" \
CONFIGURE_ENV+= MOC="${MOC}" LIBS="${QTCFGLIBS}" \
QTDIR="${QT_CVS_PREFIX}" KDEDIR="${KDE_CVS_PREFIX}"
CPPFLAGS+= ${QTCPPFLAGS}
.endif
.elif ${USE_QT_VER} == 3
@ -123,8 +124,9 @@ CONFIGURE_ARGS+=--with-qt-includes=${QT_PREFIX}/include \
--with-qt-libraries=${QT_PREFIX}/lib \
--with-extra-libs=${LOCALBASE}/lib \
--with-extra-includes=${LOCALBASE}/include
CONFIGURE_ENV+= MOC="${MOC}" CPPFLAGS="${CPPFLAGS} ${QTCPPFLAGS}" LIBS="${QTCFGLIBS}" \
CONFIGURE_ENV+= MOC="${MOC}" LIBS="${QTCFGLIBS}" \
QTDIR="${QT_PREFIX}" KDEDIR="${KDE_PREFIX}"
CPPFLAGS+= ${QTCPPFLAGS}
.endif # !defined(QT_NONSTANDARD)
.else

4
Mk/bsd.ncurses.mk

@ -91,8 +91,6 @@ NCURSES_LDFLAGS+= -rpath=${NCURSESRPATH}
.if defined(LDFLAGS)
LDFLAGS+=${NCURSES_LDFLAGS}
.else
LDFLAGS=${NCURSES_LDFLAGS}
LDFLAGS+=${NCURSES_LDFLAGS}
.endif
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}"
MAKE_ENV+= LDFLAGS="${LDFLAGS}"

8
Mk/bsd.openssl.mk

@ -2,7 +2,7 @@
# Date created: 31 May 2002
# Whom: dinoex
#
# $FreeBSD: /tmp/pcvs/ports/Mk/bsd.openssl.mk,v 1.45 2010-01-12 15:46:24 dinoex Exp $
# $FreeBSD: /tmp/pcvs/ports/Mk/bsd.openssl.mk,v 1.46 2011-09-23 22:20:46 amdmi3 Exp $
#
# Use of 'USE_OPENSSL=yes' includes this Makefile after bsd.ports.pre.mk
#
@ -135,14 +135,8 @@ CFLAGS+= -Wl,-rpath,${OPENSSLRPATH}
.endif
OPENSSL_LDFLAGS+= -rpath=${OPENSSLRPATH}
.if defined(LDFLAGS)
LDFLAGS+=${OPENSSL_LDFLAGS}
.else
LDFLAGS=${OPENSSL_LDFLAGS}
.endif
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}"
MAKE_ENV+= LDFLAGS="${LDFLAGS}"
MAKE_ENV+= OPENSSLLIB=${OPENSSLLIB} OPENSSLINC=${OPENSSLINC} \
OPENSSLBASE=${OPENSSLBASE} OPENSSLDIR=${OPENSSLDIR}

2
Mk/bsd.port.mk

@ -2200,6 +2200,7 @@ MAKE_ENV+= PREFIX=${PREFIX} \
MOTIFLIB="${MOTIFLIB}" LIBDIR="${LIBDIR}" \
CC="${CC}" CFLAGS="${CFLAGS}" \
CPP="${CPP}" CPPFLAGS="${CPPFLAGS}" \
LDFLAGS="${LDFLAGS}" \
CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" \
MANPREFIX="${MANPREFIX}"
@ -3689,6 +3690,7 @@ do-configure:
${SET_LATE_CONFIGURE_ARGS} \
if ! ${SETENV} CC="${CC}" CPP="${CPP}" CXX="${CXX}" \
CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}" CXXFLAGS="${CXXFLAGS}" \
LDFLAGS="${LDFLAGS}" \
INSTALL="/usr/bin/install -c ${_BINOWNGRP}" \
INSTALL_DATA="${INSTALL_DATA}" \
INSTALL_LIB="${INSTALL_LIB}" \

3
Mk/bsd.qt.mk

@ -25,8 +25,9 @@ CONFIGURE_ARGS+=--with-qt-includes=${QT_INCDIR} \
--with-qt-libraries=${QT_LIBDIR} \
--with-extra-libs=${LOCALBASE}/lib \
--with-extra-includes=${LOCALBASE}/include
CONFIGURE_ENV+= MOC="${MOC}" UIC="${UIC}" CPPFLAGS="${CPPFLAGS} ${QTCPPFLAGS}" LIBS="${QTCFGLIBS}" \
CONFIGURE_ENV+= MOC="${MOC}" UIC="${UIC}" LIBS="${QTCFGLIBS}" \
QMAKE="${QMAKE}" QMAKESPEC="${QMAKESPEC}" QTDIR="${QT_PREFIX}"
CPPFLAGS+= ${QTCPPFLAGS}
MAKE_ENV+= QMAKESPEC="${QMAKESPEC}"
.endif # !defined(QT_NONSTANDARD)

4
accessibility/accerciser/Makefile

@ -25,8 +25,8 @@ INSTALLS_OMF= yes
INSTALLS_ICONS= yes
GNU_CONFIGURE= yes
USE_DISPLAY= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
GCONF_SCHEMAS= accerciser.schemas
MAN1= accerciser.1

4
accessibility/at-poke/Makefile

@ -18,7 +18,7 @@ COMMENT= Accessibility testing and poking tool
USE_GMAKE= yes
USE_GNOME= gnomeprefix libglade2 libgailgnome
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
.include <bsd.port.mk>

4
accessibility/at-spi/Makefile

@ -28,8 +28,8 @@ USE_PYTHON= yes
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-static
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
GCONF_SCHEMAS= at-spi.schemas

4
accessibility/at-spi2-atk/Makefile

@ -26,8 +26,8 @@ USE_GMAKE= yes
USE_GNOME= gnomehack gnomehier intlhack gconf2 libxml2
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-static
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
GCONF_SCHEMAS= at-spi2.schemas
.include <bsd.port.mk>

4
accessibility/at-spi2-core/Makefile

@ -26,7 +26,7 @@ USE_GNOME= gnomehack gnomehier intlhack
USE_XORG= x11 xi xtst
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-static
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
.include <bsd.port.mk>

6
accessibility/atk/Makefile

@ -30,9 +30,9 @@ USE_GNOME= gnomehack glib20 ltverhack referencehack
CONFIGURE_ARGS= --enable-static \
--disable-gtk-doc \
--with-html-dir=${PREFIX}/share/doc
CPPFLAGS= -I${LOCALBASE}/include
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \
AUTOCONF=${TRUE} AUTOMAKE=${TRUE}
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ENV= AUTOCONF=${TRUE} AUTOMAKE=${TRUE}
post-patch:
@${REINPLACE_CMD} -e "/^SUBDIRS =/s/tests//" \

4
accessibility/atkmm/Makefile

@ -22,8 +22,8 @@ USE_GMAKE= yes
MAKE_JOBS_SAFE= yes
USE_GNOME= gnomehack atk
GNU_CONFIGURE= yes
CPPFLAGS= -I${LOCALBASE}/include
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib"
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --disable-documentation
.include <bsd.port.mk>

4
accessibility/dasher/Makefile

@ -29,8 +29,8 @@ WANT_GNOME= yes
GNU_CONFIGURE= yes
INSTALLS_ICONS= yes
INSTALLS_OMF= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
GCONF_SCHEMAS= dasher.schemas
MAN1= dasher.1

2
accessibility/eflite/Makefile

@ -33,7 +33,7 @@ CONFIGURE_ARGS+= --with-vox=${FL_VOX}
CONFIGURE_ARGS+= --with-vox=cmu_us_kal16
.endif
CONFIGURE_ENV+= flite_dir=${LOCALBASE}
CONFIGURE_ENV+= flite_dir=${LOCALBASE}
PLIST_FILES= bin/eflite
PORTDOCS= AUTHORS CREDITS ChangeLog INSTALL README

4
accessibility/gnome-mag/Makefile

@ -22,8 +22,8 @@ USE_GMAKE= yes
USE_GETTEXT= yes
USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
DOCSDIR= ${PREFIX}/share/doc/gnome-mag-${PORTVERSION}

4
accessibility/gnome-speech/Makefile

@ -21,8 +21,8 @@ USE_GNOME= gnomehack gnomeprefix libbonobo
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
CONFIGURE_ARGS= --enable-static
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
.include <bsd.port.pre.mk>

4
accessibility/gnopernicus/Makefile

@ -26,8 +26,8 @@ INSTALLS_ICONS= yes
USE_GMAKE= yes
USE_GNOME= gnomeprefix gnomehack intlhack libgnomeui atspi gnomespeech
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include `pkg-config --cflags gtk+-2.0`" \
LDFLAGS="-L${LOCALBASE}/lib"
CPPFLAGS+= -I${LOCALBASE}/include `pkg-config --cflags gtk+-2.0`
LDFLAGS+= -L${LOCALBASE}/lib
MAKE_ENV= SED="${SED}"
GCONF_SCHEMAS= brlmonitor.schemas gnopernicus.schemas remote.schemas

4
accessibility/gok/Makefile

@ -27,8 +27,8 @@ USE_GNOME= gnomehack gnomeprefix intlhack libgnomeui atspi libwnck \
USE_GMAKE= yes
INSTALLS_ICONS= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
GCONF_SCHEMAS= gok.schemas

4
accessibility/mousetweaks/Makefile

@ -22,8 +22,8 @@ USE_GMAKE= yes
USE_GETTEXT= yes
INSTALLS_OMF= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
GCONF_SCHEMAS= mousetweaks.schemas pointer-capture-applet.schemas
MAN1= dwell-click-applet.1 mousetweaks.1 pointer-capture-applet.1

4
accessibility/orca/Makefile

@ -34,8 +34,8 @@ USE_GNOME= gnomeprefix gnomehack libgnomeui gnomespeech pygnome2 \
pygnomedesktop
INSTALLS_ICONS= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
MAN1= orca.1

4
accessibility/py-atspi/Makefile

@ -27,7 +27,7 @@ USE_GMAKE= yes
USE_GNOME= gnomehack gnomehier intlhack gtk20 libxml2
GNU_CONFIGURE= yes
USE_PYTHON= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
.include <bsd.port.mk>

2
accessibility/speech-dispatcher/Makefile

@ -22,9 +22,9 @@ LIB_DEPENDS= dotconf.0:${PORTSDIR}/devel/dotconf \
USE_GNOME= glib20 pkgconfig
MAKE_JOBS_SAFE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib"
USE_GMAKE= yes
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
USE_LDCONFIG= ${PREFIX}/lib ${PREFIX}/lib/${PORTNAME}
CONFFILES= clients/emacs.conf clients/gnome-speech.conf \

4
archivers/dact/Makefile

@ -23,8 +23,8 @@ USE_GMAKE= yes
GNU_CONFIGURE= yes
MAKE_JOBS_SAFE= yes
CONFIGURE_ARGS= --libdir=${PREFIX}/lib
CPPFLAGS= ${CXXFLAGS} -I${LOCALBASE}/include
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib"
CPPFLAGS+= ${CXXFLAGS} -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
MAKE_ARGS= TOBUILD="dact libdact.so dact.conf"
MAN1= dact.1

3
archivers/epkg/Makefile

@ -19,7 +19,8 @@ LIB_DEPENDS= curl.6:${PORTSDIR}/ftp/curl \
expat.6:${PORTSDIR}/textproc/expat2
HAS_CONFIGURE= YES
CONFIGURE_ENV= CPPFLAGS=-I${LOCALBASE}/include LDFLAGS=-L${PREFIX}/lib
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --disable-encap --disable-epkg-install --without-libtar \
--with-libfget \
--prefix=${PREFIX}

4
archivers/file-roller/Makefile

@ -32,8 +32,8 @@ USE_GNOME= gnomeprefix intlhack gnomehack desktopfileutils gnomedocutils \
GNOME_DESKTOP_VERSION=2
USE_XORG= sm
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --disable-packagekit
PORTDOCS= AUTHORS NEWS README TODO ChangeLog

1
archivers/grzip/Makefile

@ -19,7 +19,6 @@ USE_GETTEXT= yes
USE_LDCONFIG= yes
CFLAGS+= -I${LOCALBASE}/include -fPIC
LDFLAGS+= -L${LOCALBASE}/lib -lintl
MAKE_ENV+= LDFLAGS="${LDFLAGS}"
ALL_TARGET= ${PORTNAME}
WRAPPERS= grztar grzdiff grzgrep grzmore
PLIST_FILES= bin/${PORTNAME} bin/grunzip bin/grzcat ${WRAPPERS:S|^|bin/|} \

8
archivers/gtar/Makefile

@ -27,9 +27,9 @@ GNU_CONFIGURE= yes
MAKE_JOBS_SAFE= yes
CONFIGURE_ARGS= --program-prefix=g \
--disable-silent-rules
CONFIGURE_ENV= CPPFLAGS='-I${LOCALBASE}/include' \
LDFLAGS='-L${LOCALBASE}/lib ${LDSTATIC}' \
DEFAULT_ARCHIVE=/dev/sa0 \
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib ${LDSTATIC}
CONFIGURE_ENV= DEFAULT_ARCHIVE=/dev/sa0 \
DEFAULT_RMT_COMMAND=/etc/rmt
.if defined(WANT_STATIC)
@ -60,7 +60,7 @@ RUN_DEPENDS+= xz:${PORTSDIR}/archivers/xz
.if ${OSVERSION} < 800040
CONFIGURE_ENV+= gl_cv_func_mknod_works=no
.else
CONFIGURE_ENV+= gl_cv_func_mknod_works=yes
CONFIGURE_ENV+= gl_cv_func_mknod_works=yes
.endif
.include <bsd.port.post.mk>

3
archivers/libarchive/Makefile

@ -46,8 +46,7 @@ MAN5= cpio.5 \
CFLAGS+= "-I${LOCALBASE}/include"
CPPFLAGS+= "-I${LOCALBASE}/include"
MAKE_ENV+= LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib"
LDFLAGS+= "-L${LOCALBASE}/lib"
check:
(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} check)

4
archivers/libcomprex/Makefile

@ -20,8 +20,8 @@ COMMENT= Transparently handles automatic compression and decompression of files
GNU_CONFIGURE= yes
USE_AUTOTOOLS= libtool
USE_GNOME= gnomehack pkgconfig
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -lintl"
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -lintl
USE_LDCONFIG= yes
.if !defined(WITHOUT_NLS)

2
archivers/liborange/Makefile

@ -31,8 +31,6 @@ USE_GNOME= gnomehack
USE_ICONV= yes
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ENV= CFLAGS="${CFLAGS}" \
LDFLAGS="${LDFLAGS}"
USE_LDCONFIG= yes
MAN1= orange.1

4
archivers/libpar2/Makefile

@ -18,8 +18,8 @@ LIB_DEPENDS= sigc-2.0:${PORTSDIR}/devel/libsigc++20
GNU_CONFIGURE= yes
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \
CPPFLAGS="-I${LOCALBASE}/include"
LDFLAGS+= -L${LOCALBASE}/lib
CPPFLAGS+= -I${LOCALBASE}/include
USE_LDCONFIG= yes

1
archivers/libunrar/Makefile

@ -19,7 +19,6 @@ WRKSRC= ${WRKDIR}/unrar
USE_GMAKE= yes
MAKEFILE= makefile.unix
MAKE_ENV= LDFLAGS="${LDFLAGS}"
ALL_TARGET= lib
USE_LDCONFIG= yes

1
archivers/libunrar4/Makefile

@ -18,7 +18,6 @@ WRKSRC= ${WRKDIR}/unrar
USE_GMAKE= yes
MAKEFILE= makefile.unix
MAKE_ENV= LDFLAGS="${LDFLAGS}"
ALL_TARGET= lib
USE_LDCONFIG= yes

2
archivers/lrzip/Makefile

@ -20,8 +20,8 @@ LIB_DEPENDS= lzo2:${PORTSDIR}/archivers/lzo2
LICENSE= GPLv2
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS+= --enable-asm
CONFIGURE_ENV+= LDFLAGS=-L${LOCALBASE}/lib
GNU_CONFIGURE= yes
USE_BZIP2= yes
USE_GMAKE= yes

2
archivers/lzop/Makefile

@ -23,7 +23,7 @@ LIB_DEPENDS= lzo.1:${PORTSDIR}/archivers/lzo
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib"
LDFLAGS+= -L${LOCALBASE}/lib
MAN1= lzop.1
PLIST_FILES= bin/lzop

4
archivers/par2cmdline-tbb/Makefile

@ -21,8 +21,8 @@ LICENSE= GPLv2
ONLY_FOR_ARCHS= i386 amd64 ia64
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
USE_AUTOTOOLS= aclocal automake autoconf
USE_GCC= 4.2+

1
archivers/pxz/Makefile

@ -32,7 +32,6 @@ MAKE_ENV+= BINDIR=${PREFIX}/bin \
LIB_DEPENDS+= lzma.5:${PORTSDIR}/archivers/xz
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
MAKE_ENV+= LDFLAGS="${LDFLAGS}"
.endif
.if ${ARCH} == "sparc64"

4
archivers/rpm/Makefile

@ -33,8 +33,8 @@ PLIST_SUB+= NLS="@comment "
.else
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib -lintl -liconv"
CPPFLAGS+= -I${LOCALBASE}/include
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib -lintl -liconv"
.endif
MAN1= gendiff.1

1
archivers/rpm4/Makefile

@ -67,7 +67,6 @@ PLIST_SUB+= NLS=""
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS+=--without-db \
--with-popt-prefix="${LOCALBASE}" \
--sysconfdir=${PREFIX}/etc \

5
archivers/rpm5/Makefile

@ -61,7 +61,7 @@ CONFIGURE_ARGS+=--without-lua \
.if defined(WITH_PERL)
CONFIGURE_ARGS+=--with-perl
CONFIGURE_ENV+=__PERL=${PERL}
CONFIGURE_ENV+= __PERL=${PERL}
USE_PERL5= yes
PLIST_SUB+= PERL=""
.else
@ -71,7 +71,7 @@ PLIST_SUB+= PERL="@comment "
.if defined(WITH_PYTHON)
CONFIGURE_ARGS+=--with-python=${PYTHON_VER}
CONFIGURE_ENV+=__PYTHON=${PYTHON_CMD}
CONFIGURE_ENV+= __PYTHON=${PYTHON_CMD}
USE_PYTHON= yes
PLIST_SUB+= PYTHON=""
CPPFLAGS+= -I${PYTHON_INCLUDEDIR}
@ -96,7 +96,6 @@ CONFIGURE_ARGS+=--with-apidocs
CPPFLAGS+= -I${BDB_INCLUDE_DIR} -I${LOCALBASE}/include -I${LOCALBASE}/include/xar
LDFLAGS+= -L${BDB_LIB_DIR} -L${LOCALBASE}/lib
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS+=--with-db=external --with-bugreport="${MAINTAINER}" \
--with-sqlite=external --with-dbabi=db \
--with-zlib=external \

4
archivers/unalz/Makefile

@ -20,8 +20,8 @@ LICENSE_FILE= ${WRKSRC}/readme.txt
USE_ICONV= yes
PLIST_FILES= bin/unalz
MAKEFILE= Makefile.freebsd
MAKE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
WRKSRC= ${WRKDIR}/unalz
pre-patch:

2
archivers/unmakeself/Makefile

@ -13,7 +13,7 @@ DISTFILES=
MAINTAINER= ports@FreeBSD.org
COMMENT= Extract Makeself archives
LDFLAGS= -larchive -lbz2 -lz -lcrypto -lmd
LDFLAGS+= -larchive -lbz2 -lz -lcrypto -lmd
NO_WRKSUBDIR= yes
PLIST_FILES= bin/unmakeself

4
archivers/xarchiver/Makefile

@ -26,8 +26,8 @@ INSTALLS_ICONS= yes
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
PLIST_SUB+= NLS=""
.else
PLIST_SUB+= NLS="@comment "

4
astro/celestia/Makefile

@ -27,8 +27,8 @@ USE_LUA= 5.0+ # should be optional, but the build fails without it
WANT_GNOME= yes
CXXFLAGS+= -fsigned-char # fix text rendering (see Gentoo bug 316573)
CPPFLAGS= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
UI_LIST= glut gtk gnome kde
CELESTIA_UI?= glut

5
astro/fowsr/Makefile

@ -38,9 +38,8 @@ do-install:
.if ${OSVERSION} < 800069
LIB_DEPENDS+= usb:${PORTSDIR}/devel/libusb
CFLAGS+= -I${PREFIX}/include
LDFLAGS+= "-L${PREFIX}/lib"
MAKE_ENV+= "LDFLAGS=${LDFLAGS}"
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
.endif
.include <bsd.port.post.mk>

6
astro/glunarclock/Makefile

@ -20,9 +20,9 @@ USE_GNOME= gnomehack gnomepanel gnomeprefix intlhack libgnomeui
USE_GMAKE= yes
USE_GETTEXT= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include `pkg-config --cflags libgnomeui-2.0`" \
LDFLAGS="-L${LOCALBASE}/lib" \
LIBS="`pkg-config --libs libgnomeui-2.0`"
CPPFLAGS+= -I${LOCALBASE}/include `pkg-config --cflags libgnomeui-2.0`
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ENV= LIBS="`pkg-config --libs libgnomeui-2.0`"
INSTALLS_OMF= yes
PLIST_SUB= VERSION="${PORTVERSION:R}"

4
astro/gpsdrive/Makefile

@ -23,8 +23,8 @@ USE_GNOME= gtk20
USE_AUTOTOOLS= libtool
MAKE_JOBS_UNSAFE= yes
CONFIGURE_ENV= CPPFLAGS=-I${LOCALBASE}/include \
LDFLAGS=-L${LOCALBASE}/lib
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --disable-garmin
USE_LDCONFIG= yes

3
astro/libroadnav/Makefile

@ -21,7 +21,8 @@ USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-wx-prefix=${LOCALBASE} --with-wx-config=${WX_CONFIG}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
PORTDOCS= *

4
astro/mymoon/Makefile

@ -23,8 +23,8 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
GNU_CONFIGURE= yes
USE_GMAKE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
PLIST_FILES= bin/mymoon

4
astro/nightfall/Makefile

@ -23,8 +23,8 @@ USE_PERL5= yes
USE_GETTEXT= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --with-locale-prefix=${PREFIX}/share/locale
MAN1= nightfall.1

4
astro/nova/Makefile

@ -27,8 +27,8 @@ LIB_DEPENDS= sigc-1.2.5:${PORTSDIR}/devel/libsigc++12 \
RUN_DEPENDS= ${LOCALBASE}/share/nova/catalogs/sky2000.ncd:${PORTSDIR}/astro/sky2000
USE_AUTOTOOLS= libtool
CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CPPFLAGS+= ${CXXFLAGS} -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --datadir=${DATADIR}
.include <bsd.port.mk>

6
astro/openuniverse/Makefile

@ -25,9 +25,9 @@ USE_GMAKE= yes
CONFIGURE_ARGS= --includedir="${LOCALBASE}/include" \
--libdir="${LOCALBASE}/lib" \
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/GL -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -lm" \
LIBS="-lcompat" PTHREAD_LIBS="${PTHREAD_LIBS}"
CONFIGURE_ENV= LIBS="-lcompat" PTHREAD_LIBS="${PTHREAD_LIBS}"
CPPFLAGS+= -I${LOCALBASE}/include/GL -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -lm
MAKE_ENV= PTHREAD_LIBS="${PTHREAD_LIBS}"
.include <bsd.port.mk>

4
astro/rmap/Makefile

@ -20,7 +20,7 @@ MAN1= rmap.1
GNU_CONFIGURE= yes
USE_GMAKE= yes
CPPFLAGS= -I${LOCALBASE}/include
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LIBS="-L${LOCALBASE}/lib"
CPPFLAGS+= -I${LOCALBASE}/include
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib"
.include <bsd.port.mk>

3
astro/roadnav/Makefile

@ -23,7 +23,8 @@ USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-wx-prefix=${LOCALBASE} --with-wx-config=${WX_CONFIG}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
PORTDOCS= *

4
astro/starplot/Makefile

@ -18,8 +18,8 @@ USE_GNOME= gnomehack gtk20
USE_GETTEXT= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
MAN1= starconvert.1 starpkg.1 starplot.1

4
astro/viking/Makefile

@ -19,8 +19,8 @@ RUN_DEPENDS= gpsbabel:${PORTSDIR}/astro/gpsbabel
OPTIONS= GPSD "Enable realtime GPS tracking" off
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CPPFLAGS}" \
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CPPFLAGS}
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
GNU_CONFIGURE= yes
INSTALLS_ICONS= yes
INSTALLS_OMF= yes

4
astro/xplanet/Makefile

@ -17,8 +17,8 @@ GNU_CONFIGURE= yes
USE_XORG= xt xscrnsaver
USE_GNOME= #
CONFIGURE_ARGS= --with-map-extension=jpg
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib -lm"
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib -lm"
CPPFLAGS+= -I${LOCALBASE}/include
OPTIONS= FREETYPE "Enable Freetype support" on \
PANGO "Enable PANGO support" on \

5
astro/xtide/Makefile

@ -24,13 +24,12 @@ LICENSE= GPLv3
USE_BZIP2= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
MAN1= tide.1
MAN8= xttpd.8
CPPFLAGS= -I../${TCD_DISTNAME} -I${LOCALBASE}/include/libpng
LDFLAGS= -L../${TCD_DISTNAME}/.libs -L${LOCALBASE}/lib
CPPFLAGS+= -I../${TCD_DISTNAME} -I${LOCALBASE}/include/libpng
LDFLAGS+= -L../${TCD_DISTNAME}/.libs -L${LOCALBASE}/lib
MAKE_JOBS_SAFE= yes
TCD_DISTNAME= libtcd-2.2.5

1
audio/adplay/Makefile

@ -30,7 +30,6 @@ CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/libbinio
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS+= --sharedstatedir=${DATADIR}
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}"
LICENSE= GPLv2
MAN1= adplay.1

2
audio/akode-plugins-ffmpeg/Makefile

@ -35,7 +35,7 @@ USE_GMAKE= yes
WRKSRC= ${WRKDIR}/akode-${PORTVERSION}
USE_LDCONFIG= yes
CONFIGURE_ENV+= LDFLAGS=-L${WRKSRC}/akode/lib/.libs
LDFLAGS+= -L${WRKSRC}/akode/lib/.libs
CONFIGURE_ARGS+=--with-extra-libs=${LOCALBASE}/lib \
--with-extra-includes=${LOCALBASE}/include

2
audio/akode-plugins-jack/Makefile

@ -33,7 +33,7 @@ USE_GMAKE= yes
WRKSRC= ${WRKDIR}/akode-${PORTVERSION}
USE_LDCONFIG= yes
CONFIGURE_ENV+= LDFLAGS=-L${WRKSRC}/akode/lib/.libs
LDFLAGS+= -L${WRKSRC}/akode/lib/.libs
CONFIGURE_ARGS+=--with-extra-libs=${LOCALBASE}/lib \
--with-extra-includes=${LOCALBASE}/include

2
audio/akode-plugins-mpc/Makefile

@ -35,7 +35,7 @@ PLIST_FILES= lib/libakode_mpc_decoder.a \
lib/libakode_mpc_decoder.la \
lib/libakode_mpc_decoder.so
CONFIGURE_ENV+= LDFLAGS=-L${WRKSRC}/akode/lib/.libs
LDFLAGS+= -L${WRKSRC}/akode/lib/.libs
CONFIGURE_ARGS+=--with-extra-libs=${LOCALBASE}/lib \
--with-extra-includes=${LOCALBASE}/include

2
audio/akode-plugins-mpeg/Makefile

@ -37,7 +37,7 @@ PLIST_FILES= lib/libakode_mpeg_decoder.a \
lib/libakode_mpeg_decoder.la \
lib/libakode_mpeg_decoder.so
CONFIGURE_ENV+= LDFLAGS=-L${WRKSRC}/akode/lib/.libs
LDFLAGS+= -L${WRKSRC}/akode/lib/.libs
CONFIGURE_ARGS+=--with-extra-libs=${LOCALBASE}/lib \
--with-extra-includes=${LOCALBASE}/include

2
audio/akode-plugins-oss/Makefile

@ -35,7 +35,7 @@ PLIST_FILES= lib/libakode_oss_sink.a \
lib/libakode_oss_sink.la \
lib/libakode_oss_sink.so
CONFIGURE_ENV+= LDFLAGS=-L${WRKSRC}/akode/lib/.libs
LDFLAGS+= -L${WRKSRC}/akode/lib/.libs
CONFIGURE_ARGS+=--with-extra-libs=${LOCALBASE}/lib \
--with-extra-includes=${LOCALBASE}/include

2
audio/akode-plugins-pulseaudio/Makefile

@ -36,7 +36,7 @@ USE_LDCONFIG= yes
PLIST_FILES= lib/libakode_polyp_sink.a lib/libakode_polyp_sink.la \
lib/libakode_polyp_sink.so
CONFIGURE_ENV+= LDFLAGS=-L${WRKSRC}/akode/lib/.libs
LDFLAGS+= -L${WRKSRC}/akode/lib/.libs
CONFIGURE_ARGS+=--with-extra-libs=${LOCALBASE}/lib \
--with-extra-includes=${LOCALBASE}/include

2
audio/akode-plugins-resampler/Makefile

@ -37,7 +37,7 @@ PLIST_FILES= lib/libakode_src_resampler.a \
lib/libakode_src_resampler.la \
lib/libakode_src_resampler.so
CONFIGURE_ENV+= LDFLAGS=-L${WRKSRC}/akode/lib/.libs
LDFLAGS+= -L${WRKSRC}/akode/lib/.libs
CONFIGURE_ARGS+=--with-extra-libs=${LOCALBASE}/lib \
--with-extra-includes=${LOCALBASE}/include

2
audio/akode-plugins-xiph/Makefile

@ -41,7 +41,7 @@ PLIST_FILES= lib/libakode_xiph_decoder.a \
lib/libakode_xiph_decoder.la \
lib/libakode_xiph_decoder.so
CONFIGURE_ENV+= LDFLAGS=-L${WRKSRC}/akode/lib/.libs
LDFLAGS+= -L${WRKSRC}/akode/lib/.libs
CONFIGURE_ARGS+=--with-extra-libs=${LOCALBASE}/lib \
--with-extra-includes=${LOCALBASE}/include

4
audio/alsa-plugins/Makefile

@ -20,7 +20,7 @@ LIB_DEPENDS= asound.2:${PORTSDIR}/audio/alsa-lib
USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_GNOME= pkgconfig
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib"
LDFLAGS+= -L${LOCALBASE}/lib
OPTIONS= JACK "JACK audio support (requires SAMPLERATE)" Off \
LAVC "libavcodec support" Off \
@ -43,7 +43,7 @@ CONFIGURE_ARGS+= --disable-jack
.if defined(WITH_LAVC)
CONFIGURE_ARGS+= --enable-avcodec
CONFIGURE_ENV+= CFLAGS=-I${LOCALBASE}/include
CFLAGS+= -I${LOCALBASE}/include
LIB_DEPENDS+= avcodec.1:${PORTSDIR}/multimedia/ffmpeg
PLIST_SUB+= LAVC=""
.else

6
audio/alsa-utils/Makefile

@ -22,7 +22,7 @@ RUN_DEPENDS= ${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:${PORTSDIR}/a
USE_BZIP2= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CFLAGS="-I${LOCALBASE}/include"
CFLAGS+= -I${LOCALBASE}/include
MAN1_EN= aconnect.1 alsactl.1 alsamixer.1 amidi.1 amixer.1 aplay.1 aplaymidi.1 \
arecordmidi.1 aseqdump.1 aseqnet.1 iecset.1 speaker-test.1
@ -42,11 +42,11 @@ CONFIGURE_ARGS+=--disable-xmlto
.endif
.if defined(WITHOUT_NLS)
CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib"
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.else
CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib -lintl"
LDFLAGS+= -L${LOCALBASE}/lib -lintl
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.endif

5
audio/aqualung/Makefile

@ -42,9 +42,8 @@ USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --program-transform-name="" --with-alsa=no --with-ifp=no \
--with-cdda=no
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CPPFLAGS= -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib -lstrfunc
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -lstrfunc
MAN1= ${PORTNAME}.1
OPTIONS= JACK "Enable JACK low-latency audio server support" Off \

4
audio/audacity-devel/Makefile

@ -68,9 +68,7 @@ CPPFLAGS+= -I${WRKSRC}/lib-src/portsmf -I${WRKSRC}/lib-src/portaudio-v19/include
CXXFLAGS+= -I${WRKSRC}/lib-src/portsmf -I${WRKSRC}/lib-src/portaudio-v19/include -I${LOCALBASE}/include ${SSE_CFLAGS} ${PTHREAD_CFLAGS}
CFLAGS+= -I${WRKSRC}/lib-src/portsmf -I${WRKSRC}/lib-src/portaudio-v19/include -I${LOCALBASE}/include ${SSE_CFLAGS} ${PTHREAD_CFLAGS}
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}" \
CPPFLAGS="${CPPFLAGS}" \
WX_CONFIG="${WX_CONFIG}"
CONFIGURE_ENV+= WX_CONFIG="${WX_CONFIG}"
.if !defined(NOPORTDOCS)
MAKE_ENV= DOC=yes

6
audio/audacity/Makefile

@ -37,9 +37,9 @@ OPTIONS= ID3TAG "ID3 tag support" off \
SSE_CFLAGS= -mno-sse -mno-sse2
.endif
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include ${SSE_CFLAGS} ${PTHREAD_CFLAGS}" \
CFLAGS="${CFLAGS} -I${LOCALBASE}/include ${SSE_CFLAGS} ${PTHREAD_CFLAGS}"
CFLAGS+= -I${LOCALBASE}/include ${SSE_CFLAGS} ${PTHREAD_CFLAGS}
CPPFLAGS+= -I${LOCALBASE}/include ${SSE_CFLAGS} ${PTHREAD_CFLAGS}
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
.if !defined(NOPORTDOCS)
MAKE_ENV= DOC=yes

6
audio/audiere/Makefile

@ -20,9 +20,9 @@ WANT_WX= yes
USE_AUTOTOOLS= autoconf
USE_LDCONFIG= yes
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \
CPPFLAGS="-I${LOCALBASE}/include/speex -I${LOCALBASE}/include" \
PTHREAD_LIBS="${PTHREAD_LIBS}" PTHREAD_CFLAGS="${PTHREAD_CFLAGS}"
CONFIGURE_ENV= PTHREAD_LIBS="${PTHREAD_LIBS}" PTHREAD_CFLAGS="${PTHREAD_CFLAGS}"
CPPFLAGS+= -I${LOCALBASE}/include/speex -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
PORTDOCS= changelog.txt cvs.txt dependencies.txt faq.txt glossary.txt \
license.txt overview.txt readme.txt release-howto.txt \

4
audio/aumix/Makefile

@ -24,8 +24,8 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= --includedir="${LOCALBASE}/include" \
--enable-own-labels \
--libdir="${LOCALBASE}/lib"
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
MAN1= aumix.1 xaumix.1 mute.1
PLIST_DIRS= share/aumix

5
audio/blop/Makefile

@ -17,13 +17,12 @@ BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS= --with-ladspa-prefix="${LOCALBASE}"
OPTIONS= NLS "Native language support" on
CPPFLAGS= -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
.include <bsd.port.pre.mk>

1
audio/bmp-mac/Makefile

@ -20,7 +20,6 @@ LIB_DEPENDS= beep.2:${PORTSDIR}/multimedia/beep-media-player \
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"
USE_AUTOTOOLS= autoconf libtool
CPPFLAGS+= "-I${LOCALBASE}/include"
PLUGDIR= lib/bmp/Input

3
audio/cantus_3/Makefile

@ -30,9 +30,8 @@ USE_GMAKE= yes
USE_GNOME= gnomehack gnomeprefix libglade2 glib20
USE_LDCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib
LDFLAGS+= -L${LOCALBASE}/lib
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS= --program-transform-name="" --disable-static
WRKSRC= ${WRKDIR}/${DISTNAME:S/.src//}

3
audio/cowbell/Makefile

@ -22,7 +22,8 @@ GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_GETTEXT= yes
USE_ICONV= yes
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
.include <bsd.port.pre.mk>

5
audio/darkice/Makefile

@ -26,8 +26,9 @@ OPTIONS= VORBIS "Ogg Vorbis support" on \
USE_AUTOTOOLS= aclocal autoconf
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}" LDFLAGS="${PTHREAD_LIBS}" \
ac_cv_prog_acx_pthread_config=no
CONFIGURE_ENV= ac_cv_prog_acx_pthread_config=no
CPPFLAGS+= ${PTHREAD_CFLAGS}
LDFLAGS+= ${PTHREAD_LIBS}
CONFIGURE_ARGS= --without-alsa
SUB_FILES= pkg-message

4
audio/denemo/Makefile

@ -33,8 +33,8 @@ CONFIGURE_ARGS= --enable-jack \
PORTDOCS= *
PORTEXAMPLES= *
CPPFLAGS= -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
.include <bsd.port.options.mk>
.include <bsd.port.pre.mk>

1
audio/dvda-author/Makefile

@ -37,6 +37,5 @@ CONFIGURE_ARGS= --with-flac=${LOCALBASE}/lib/libFLAC.so \
.if defined(NOPORTDOCS)
CONFIGURE_ARGS+= --docdir=${WRKDIR}/doc
.endif
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
.include <bsd.port.mk>

4
audio/easytag-devel/Makefile

@ -27,8 +27,8 @@ USE_BZIP2= yes
USE_GETTEXT= yes
USE_GNOME= gnomehack gnomeprefix gtk20 desktopfileutils
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -DHAVE_GTK" \
LDFLAGS="-L${LOCALBASE}/lib"
CPPFLAGS+= -I${LOCALBASE}/include -DHAVE_GTK
LDFLAGS+= -L${LOCALBASE}/lib
.if defined(WITH_WAVPACK)
LIB_DEPENDS+= wavpack.2:${PORTSDIR}/audio/wavpack