View | Details | Raw Unified | Return to bug 212987 | Differences between
and this patch

Collapse All | Expand All

(-)Mk/Uses/libarchive.mk (-1 / +1 lines)
Lines 10-16 Link Here
10
10
11
.if !defined(_INCLUDE_USES_LIBARCHIVE_MK)
11
.if !defined(_INCLUDE_USES_LIBARCHIVE_MK)
12
_INCLUDE_USES_LIBARCHIVE_MK=	yes
12
_INCLUDE_USES_LIBARCHIVE_MK=	yes
13
.include "${USESDIR}/localbase.mk"
13
_USES_POST+=	localbase
14
14
15
LIB_DEPENDS+=	libarchive.so.13:archivers/libarchive
15
LIB_DEPENDS+=	libarchive.so.13:archivers/libarchive
16
.endif
16
.endif
(-)Mk/Uses/libedit.mk (-1 / +1 lines)
Lines 10-16 Link Here
10
10
11
.if !defined(_INCLUDE_USES_LIBEDIT_MK)
11
.if !defined(_INCLUDE_USES_LIBEDIT_MK)
12
_INCLUDE_USES_LIBEDIT_MK=	yes
12
_INCLUDE_USES_LIBEDIT_MK=	yes
13
.include "${USESDIR}/localbase.mk"
13
_USES_POST+=	localbase
14
14
15
LIB_DEPENDS+=	libedit.so.0:devel/libedit
15
LIB_DEPENDS+=	libedit.so.0:devel/libedit
16
.endif
16
.endif
(-)Mk/Uses/localbase.mk (-2 / +11 lines)
Lines 3-20 Link Here
3
# handle enforcing localbase in path
3
# handle enforcing localbase in path
4
#
4
#
5
# Feature:	localbase
5
# Feature:	localbase
6
# Usage:	USES=localbase
6
# Usage:	USES=localbase or USES=localbase:args
7
# Valid ARGS:	none
7
# Valid ARGS:	ldflags		Set LDFLAGS instead of LIBS
8
#
8
#
9
# MAINTAINER:	portmgr@FreeBSD.org
9
# MAINTAINER:	portmgr@FreeBSD.org
10
10
11
.if !defined(_INCLUDE_USES_LOCALBASE_MK)
11
.if !defined(_INCLUDE_USES_LOCALBASE_MK)
12
_INCLUDE_USES_LOCALBASE_MK=	yes
12
_INCLUDE_USES_LOCALBASE_MK=	yes
13
_USES_POST+=	localbase
14
.endif
15
16
.if defined(_POSTMKINCLUDED) && !defined(_INCLUDE_USES_LOCALBASE_POST_MK)
17
_INCLUDE_USES_LOCALBASE_POST_MK=yes
13
18
14
CPPFLAGS+=	-isystem ${LOCALBASE}/include
19
CPPFLAGS+=	-isystem ${LOCALBASE}/include
15
CFLAGS+=	-isystem ${LOCALBASE}/include
20
CFLAGS+=	-isystem ${LOCALBASE}/include
16
CXXFLAGS+=	-isystem ${LOCALBASE}/include
21
CXXFLAGS+=	-isystem ${LOCALBASE}/include
22
.if ${localbase_ARGS:Mldflags}
17
LDFLAGS+=	-L${LOCALBASE}/lib
23
LDFLAGS+=	-L${LOCALBASE}/lib
24
.else
25
LIBS+=		-L${LOCALBASE}/lib
26
.endif
18
27
19
# Use CONFIGURE_ENV instead of CMAKE_ARGS because devel/cmake itself also needs
28
# Use CONFIGURE_ENV instead of CMAKE_ARGS because devel/cmake itself also needs
20
# this, and CMAKE_ARGS is not used when bootstrapping CMake.
29
# this, and CMAKE_ARGS is not used when bootstrapping CMake.
(-)archivers/pigz/Makefile (-1 / +1 lines)
Lines 15-21 LICENSE= ZLIB Link Here
15
15
16
LIB_DEPENDS=	libzopfli.so:archivers/zopfli
16
LIB_DEPENDS=	libzopfli.so:archivers/zopfli
17
17
18
USES=		cpe gmake localbase
18
USES=		cpe gmake localbase:ldflags
19
CPE_VENDOR=	zlib
19
CPE_VENDOR=	zlib
20
ALL_TARGET=	dev
20
ALL_TARGET=	dev
21
MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
21
MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
(-)archivers/unmakeself/Makefile (-2 / +2 lines)
Lines 11-17 MAINTAINER= ports@FreeBSD.org Link Here
11
COMMENT=	Extract Makeself archives
11
COMMENT=	Extract Makeself archives
12
12
13
USES=		libarchive
13
USES=		libarchive
14
LDFLAGS+=	-larchive
14
LIBS+=		-larchive
15
NO_WRKSUBDIR=	yes
15
NO_WRKSUBDIR=	yes
16
16
17
PLIST_FILES=	bin/unmakeself
17
PLIST_FILES=	bin/unmakeself
Lines 26-32 do-configure: Link Here
26
26
27
do-build:
27
do-build:
28
	${CC} ${CFLAGS} ${CPPFLAGS} -I${WRKSRC} -o ${WRKSRC}/unmakeself \
28
	${CC} ${CFLAGS} ${CPPFLAGS} -I${WRKSRC} -o ${WRKSRC}/unmakeself \
29
		${FILESDIR}/unmakeself.c ${LDFLAGS}
29
		${FILESDIR}/unmakeself.c ${LDFLAGS} ${LIBS}
30
30
31
do-install:
31
do-install:
32
	${INSTALL_PROGRAM} ${WRKSRC}/unmakeself ${STAGEDIR}/${PREFIX}/bin
32
	${INSTALL_PROGRAM} ${WRKSRC}/unmakeself ${STAGEDIR}/${PREFIX}/bin
(-)audio/fplib/Makefile (-1 / +1 lines)
Lines 22-27 LIB_DEPENDS= libcurl.so:ftp/curl \ Link Here
22
22
23
MAKE_JOBS_UNSAFE=	yes
23
MAKE_JOBS_UNSAFE=	yes
24
USE_LDCONFIG=	yes
24
USE_LDCONFIG=	yes
25
USES=		cmake localbase tar:xz
25
USES=		cmake localbase:ldflags tar:xz
26
26
27
.include <bsd.port.mk>
27
.include <bsd.port.mk>
(-)audio/listener/Makefile (-1 / +1 lines)
Lines 24-30 post-patch: Link Here
24
	@${REINPLACE_CMD} -e \
24
	@${REINPLACE_CMD} -e \
25
		's|-g |$$(CPPFLAGS) | ; \
25
		's|-g |$$(CPPFLAGS) | ; \
26
		 s|-O2 || ; \
26
		 s|-O2 || ; \
27
		 s|-ldl |$$(LDFLAGS) |' ${WRKSRC}/Makefile
27
		 s|-ldl |$$(LDFLAGS) $$(LIBS) |' ${WRKSRC}/Makefile
28
28
29
do-install:
29
do-install:
30
	${INSTALL_PROGRAM} ${WRKSRC}/listener ${WRKSRC}/setlistener \
30
	${INSTALL_PROGRAM} ${WRKSRC}/listener ${WRKSRC}/setlistener \
(-)benchmarks/glmark2/Makefile (-1 / +1 lines)
Lines 13-19 LICENSE= GPLv3 Link Here
13
13
14
LIB_DEPENDS=	libpng.so:graphics/png
14
LIB_DEPENDS=	libpng.so:graphics/png
15
15
16
USES=		jpeg localbase pkgconfig waf
16
USES=		jpeg localbase:ldflags pkgconfig waf
17
USE_GL=		egl gl glesv2
17
USE_GL=		egl gl glesv2
18
CONFIGURE_ARGS=	--with-flavors=x11-gl,x11-glesv2 --no-opt --no-debug
18
CONFIGURE_ARGS=	--with-flavors=x11-gl,x11-glesv2 --no-opt --no-debug
19
WAF_CMD=	./waf -v
19
WAF_CMD=	./waf -v
(-)databases/firebird25-server/Makefile (-2 / +1 lines)
Lines 90-97 UDF_SQL= src/extlib/ib_udf2.sql src/extl Link Here
90
PKGINSTALL?=	${PKGDIR}/pkg-install-server
90
PKGINSTALL?=	${PKGDIR}/pkg-install-server
91
.else
91
.else
92
# Client part stuff
92
# Client part stuff
93
USES+=	libedit
93
USES+=		libedit
94
LDFLAGS+=	-L${LOCALBASE}/lib # to link in lncurses pulled in by libedit
95
94
96
CONFIGURE_ARGS+=	--with-system-editline
95
CONFIGURE_ARGS+=	--with-system-editline
97
CONFIGURE_ENV+=	ac_cv_lib_edit_readline="yes"
96
CONFIGURE_ENV+=	ac_cv_lib_edit_readline="yes"
(-)databases/rocksdb/Makefile (-1 / +1 lines)
Lines 24-30 CPPFLAGS+= -DOS_FREEBSD Link Here
24
MAKE_ENV=	CXX=${CXX}
24
MAKE_ENV=	CXX=${CXX}
25
USE_CXXSTD=	c++11
25
USE_CXXSTD=	c++11
26
USE_LDCONFIG=	yes
26
USE_LDCONFIG=	yes
27
USES=		compiler:c++11-lib gmake localbase
27
USES=		compiler:c++11-lib gmake localbase:ldflags
28
28
29
PORTDATA=	make_config.mk
29
PORTDATA=	make_config.mk
30
30
(-)deskutils/fbreader/Makefile (-2 / +2 lines)
Lines 46-52 GTK2_USE= gnome=gtk20 Link Here
46
GTK2_MAKE_ENV=	UI_TYPE=gtk
46
GTK2_MAKE_ENV=	UI_TYPE=gtk
47
47
48
QT4_USE=	qt4=gui,corelib,imageformats,network,moc_build
48
QT4_USE=	qt4=gui,corelib,imageformats,network,moc_build
49
QT4_LDFLAGS=	-L${QT_LIBDIR}
49
QT4_LIBS=	-L${QT_LIBDIR}
50
QT4_MAKE_ENV=	UI_TYPE=qt4
50
QT4_MAKE_ENV=	UI_TYPE=qt4
51
51
52
post-patch:
52
post-patch:
Lines 58-64 post-patch: Link Here
58
	@${REINPLACE_CMD} -e 's/-llinebreak/-lunibreak/g' ${WRKSRC}/makefiles/*.mk
58
	@${REINPLACE_CMD} -e 's/-llinebreak/-lunibreak/g' ${WRKSRC}/makefiles/*.mk
59
	@${REINPLACE_CMD} -e 's,/usr,${PREFIX},' ${WRKSRC}/fbreader/desktop/Makefile
59
	@${REINPLACE_CMD} -e 's,/usr,${PREFIX},' ${WRKSRC}/fbreader/desktop/Makefile
60
	@${FIND} ${WRKSRC} -name Makefile | ${XARGS} ${REINPLACE_CMD} \
60
	@${FIND} ${WRKSRC} -name Makefile | ${XARGS} ${REINPLACE_CMD} \
61
		-e 's,make ,gmake ,'
61
		-e 's,make ,$$(MAKE) ,' -e '/$$(LDFLAGS)/s/$$/ $$(LIBS)/'
62
62
63
pre-configure:
63
pre-configure:
64
# This cannot be done in post-patch because build dependencies are installed
64
# This cannot be done in post-patch because build dependencies are installed
(-)deskutils/owncloudclient/Makefile (-2 / +2 lines)
Lines 14-21 LICENSE= GPLv2 Link Here
14
LIB_DEPENDS=	libinotify.so:devel/libinotify \
14
LIB_DEPENDS=	libinotify.so:devel/libinotify \
15
		libqt5keychain.so:security/qtkeychain-qt5
15
		libqt5keychain.so:security/qtkeychain-qt5
16
16
17
USES=		cmake:outsource compiler:c++11-lib gmake iconv localbase \
17
USES=		cmake:outsource compiler:c++11-lib gmake iconv \
18
		pkgconfig sqlite ssl
18
		localbase:ldflags pkgconfig sqlite ssl
19
USE_QT5=	buildtools_build concurrent core dbus gui linguist_build network \
19
USE_QT5=	buildtools_build concurrent core dbus gui linguist_build network \
20
		qmake_build sql webkit widgets xml
20
		qmake_build sql webkit widgets xml
21
CMAKE_ARGS=	-DBUILD_WITH_QT4:BOOL=OFF \
21
CMAKE_ARGS=	-DBUILD_WITH_QT4:BOOL=OFF \
(-)devel/efivar/files/patch-Make.rules (+15 lines)
Line 0 Link Here
1
--- Make.rules.orig	2014-10-15 13:48:49 UTC
2
+++ Make.rules
3
@@ -2,10 +2,10 @@
4
 	$(AR) -cvqs $@ $^
5
 
6
 % : %.o
7
-	$(CCLD) $(ccldflags) -o $@ $^ $(foreach lib,$(LIBS),-l$(lib))
8
+	$(CCLD) $(ccldflags) -o $@ $^ $(LIBS)
9
 
10
 %.so.$(SONAME_VERSION) : 
11
-	$(CCLD) $(cflags) -Wl,-soname,$(SONAME) $(ccldflags) $(LIBFLAGS) $^ -o $@ $(foreach lib,$(LIBS),-l$(lib))
12
+	$(CCLD) $(cflags) -Wl,-soname,$(SONAME) $(ccldflags) $(LIBFLAGS) $^ -o $@ $(LIBS)
13
 
14
 %.so : %.so.$(SONAME_VERSION)
15
 	ln -sf $^ $@
(-)devel/efivar/files/patch-src-Makefile (-3 / +11 lines)
Lines 1-6 Link Here
1
--- src/Makefile.orig	2015-01-19 15:35:31.000000000 +0100
1
--- src/Makefile.orig	2014-10-15 13:48:49 UTC
2
+++ src/Makefile	2015-01-19 15:35:42.000000000 +0100
2
+++ src/Makefile
3
@@ -15,7 +15,6 @@ all : $(LIBTARGETS) $(PCTARGETS) $(BINTA
3
@@ -15,14 +15,13 @@ all : $(LIBTARGETS) $(PCTARGETS) $(BINTA
4
 OBJECTS = lib.o vars.o efivarfs.o guid.o guidlist.o guid-symbols.o
4
 OBJECTS = lib.o vars.o efivarfs.o guid.o guidlist.o guid-symbols.o
5
 DEPS = .lib.c.P .efivar.c.P .efivar.h.P .vars.c.P .lib.h.P \
5
 DEPS = .lib.c.P .efivar.c.P .efivar.h.P .vars.c.P .lib.h.P \
6
 	.generics.h.P .guid.h.P .guid.c.P
6
 	.generics.h.P .guid.h.P .guid.c.P
Lines 8-10 Link Here
8
 
8
 
9
 libefivar.a :: $(OBJECTS)
9
 libefivar.a :: $(OBJECTS)
10
 
10
 
11
 libefivar.so.$(SONAME_VERSION) :: $(OBJECTS)
12
 
13
 efivar : efivar.o libefivar.so
14
-	$(CCLD) $(ccldflags) -L. -lefivar -o $@ $^ -lpopt $(foreach lib,$(LIBS),-l$(lib))
15
+	$(CCLD) $(ccldflags) -L. -lefivar -o $@ $^ -lpopt $(LIBS)
16
 
17
 efivar.pc : efivar.pc.in
18
 	sed -e "s,@@VERSION@@,$(VERSION),g" \
(-)devel/efivar/files/patch-src-test-Makefile (+11 lines)
Line 0 Link Here
1
--- src/test/Makefile.orig	2014-10-15 13:48:49 UTC
2
+++ src/test/Makefile
3
@@ -4,7 +4,7 @@ TOPDIR = $(realpath $(SRCDIR)/../..)
4
 include $(TOPDIR)/Make.defaults
5
 
6
 ccldflags += -L$(TOPDIR)/src/ -Wl,-rpath=$(TOPDIR)/src/
7
-LIBS=efivar
8
+LIBS = -lefivar
9
 
10
 all : tester
11
 
(-)devel/sdl20/Makefile (-1 / +1 lines)
Lines 13-19 LICENSE= ZLIB Link Here
13
LICENSE_FILE=	${WRKSRC}/COPYING.txt
13
LICENSE_FILE=	${WRKSRC}/COPYING.txt
14
14
15
GNU_CONFIGURE=	yes
15
GNU_CONFIGURE=	yes
16
USES=		gmake iconv libtool localbase pathfix pkgconfig
16
USES=		gmake iconv libtool localbase:ldflags pathfix pkgconfig
17
USE_LDCONFIG=	yes
17
USE_LDCONFIG=	yes
18
18
19
CONFIGURE_ARGS+=	--disable-video-opengles \
19
CONFIGURE_ARGS+=	--disable-video-opengles \
(-)dns/dnscrypt-wrapper/Makefile (-1 / +1 lines)
Lines 25-31 ETCDNSCRYPTWRAPPER= ${PREFIX}/etc/${PORT Link Here
25
SUB_LIST+=	ETCDNSCRYPTWRAPPER="${ETCDNSCRYPTWRAPPER}" USERS="${USERS}"
25
SUB_LIST+=	ETCDNSCRYPTWRAPPER="${ETCDNSCRYPTWRAPPER}" USERS="${USERS}"
26
USE_RC_SUBR=	${PORTNAME}
26
USE_RC_SUBR=	${PORTNAME}
27
27
28
USES=		gmake localbase
28
USES=		gmake localbase:ldflags
29
29
30
post-install:
30
post-install:
31
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/*
31
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/*
(-)emulators/ppsspp/Makefile (-1 / +1 lines)
Lines 27-33 GH_TAGNAME?= cdf4a8d:lang 1ffab37:ext_ar Link Here
27
27
28
CONFLICTS_INSTALL=	${PORTNAME}-*
28
CONFLICTS_INSTALL=	${PORTNAME}-*
29
29
30
USES=		compiler:c++11-lib localbase pkgconfig
30
USES=		compiler:c++11-lib localbase:ldflags pkgconfig
31
EXCLUDE=	glew snappy libzip zlib
31
EXCLUDE=	glew snappy libzip zlib
32
EXTRACT_AFTER_ARGS=${EXCLUDE:S,^,--exclude ,}
32
EXTRACT_AFTER_ARGS=${EXCLUDE:S,^,--exclude ,}
33
USE_GL=		glew glu
33
USE_GL=		glew glu
(-)ftp/twoftpd/Makefile (-1 / +1 lines)
Lines 16-22 LICENSE_FILE= ${WRKSRC}/COPYING Link Here
16
BUILD_DEPENDS=	${LOCALBASE}/bin/bg-installer:devel/bglibs
16
BUILD_DEPENDS=	${LOCALBASE}/bin/bg-installer:devel/bglibs
17
LIB_DEPENDS=	libcvm-v2client.so:security/cvm
17
LIB_DEPENDS=	libcvm-v2client.so:security/cvm
18
18
19
USES=		localbase
19
USES=		localbase:ldflags
20
20
21
BGLIBS_LIB=	${LOCALBASE}/lib/bglibs
21
BGLIBS_LIB=	${LOCALBASE}/lib/bglibs
22
BGLIBS_INCLUDE=	${LOCALBASE}/include/bglibs
22
BGLIBS_INCLUDE=	${LOCALBASE}/include/bglibs
(-)games/corewars/Makefile (-1 / +1 lines)
Lines 14-20 LICENSE_FILE= ${WRKSRC}/COPYING Link Here
14
14
15
BUILD_DEPENDS=	${LOCALBASE}/lib/libargp.a:devel/argp-standalone
15
BUILD_DEPENDS=	${LOCALBASE}/lib/libargp.a:devel/argp-standalone
16
16
17
USES=		gmake localbase
17
USES=		gmake localbase:ldflags
18
USE_GNOME=	gtk12
18
USE_GNOME=	gtk12
19
GNU_CONFIGURE=	yes
19
GNU_CONFIGURE=	yes
20
20
(-)games/endless-sky/Makefile (-1 / +1 lines)
Lines 19-25 BROKEN_FreeBSD_9= does not build # revis Link Here
19
19
20
USE_GITHUB=	yes
20
USE_GITHUB=	yes
21
21
22
USES=		compiler:c++11-lib jpeg localbase openal scons
22
USES=		compiler:c++11-lib jpeg localbase:ldflags openal scons
23
USE_SDL=	sdl2
23
USE_SDL=	sdl2
24
USE_GL=		gl glew
24
USE_GL=		gl glew
25
INSTALLS_ICONS=	yes
25
INSTALLS_ICONS=	yes
(-)games/motogt/Makefile (-1 / +1 lines)
Lines 19-25 LICENSE_COMB= multi Link Here
19
LICENSE_FILE_GPLv20=	${WRKSRC}/doc/gpl.txt
19
LICENSE_FILE_GPLv20=	${WRKSRC}/doc/gpl.txt
20
LICENSE_FILE_CC-BY-SA-3.0=	${WRKSRC}/doc/cc-by-sa.txt
20
LICENSE_FILE_CC-BY-SA-3.0=	${WRKSRC}/doc/cc-by-sa.txt
21
21
22
USES=		localbase zip
22
USES=		localbase:ldflags zip
23
USE_GL=		gl
23
USE_GL=		gl
24
BUILD_WRKSRC=	${WRKSRC}/src
24
BUILD_WRKSRC=	${WRKSRC}/src
25
MAKEFILE=	Makefile.lnx
25
MAKEFILE=	Makefile.lnx
(-)games/nighthawk/Makefile (-1 / +1 lines)
Lines 12-18 COMMENT= X11 shoot-'em up which requires Link Here
12
12
13
WRKSRC=		${WRKDIR}/${PORTNAME}
13
WRKSRC=		${WRKDIR}/${PORTNAME}
14
14
15
USES=		gmake localbase tar:bzip2
15
USES=		gmake localbase:ldflags tar:bzip2
16
USE_GL=		glut
16
USE_GL=		glut
17
MAKE_ARGS=	CC="${CC}" CPP="${CXX}" CC_FLAGS="${CXXFLAGS}" \
17
MAKE_ARGS=	CC="${CC}" CPP="${CXX}" CC_FLAGS="${CXXFLAGS}" \
18
		LIB_FLAGS="${LDFLAGS}" GCC="${CC}" CFLAGS="${CFLAGS}"
18
		LIB_FLAGS="${LDFLAGS}" GCC="${CC}" CFLAGS="${CFLAGS}"
(-)games/vegastrike/Makefile (-1 / +2 lines)
Lines 20-26 LIB_DEPENDS= libboost_python.so:devel/bo Link Here
20
		libvorbis.so:audio/libvorbis \
20
		libvorbis.so:audio/libvorbis \
21
		libogg.so:audio/libogg
21
		libogg.so:audio/libogg
22
22
23
USES=		dos2unix gmake localbase openal:al pkgconfig python tar:bzip2
23
USES=		dos2unix gmake localbase:ldflags openal:al pkgconfig python \
24
		tar:bzip2
24
GNU_CONFIGURE=	yes
25
GNU_CONFIGURE=	yes
25
USE_SDL=	sdl
26
USE_SDL=	sdl
26
USE_GL=		glut
27
USE_GL=		glut
(-)graphics/bmeps/Makefile (-1 / +1 lines)
Lines 24-30 CONFIGURE_ENV= ac_cv_header_sys_termios_ Link Here
24
		ac_cv_header_db_h=no
24
		ac_cv_header_db_h=no
25
25
26
ALL_TARGET=	bmpp
26
ALL_TARGET=	bmpp
27
USES=		gmake jpeg localbase
27
USES=		gmake jpeg localbase:ldflags
28
28
29
PLIST_FILES=	bin/bmpp
29
PLIST_FILES=	bin/bmpp
30
30
(-)graphics/dcp2icc/Makefile (-1 / +1 lines)
Lines 15-21 LICENSE= GPLv2 Link Here
15
LIB_DEPENDS=	libexpat.so:textproc/expat2 \
15
LIB_DEPENDS=	libexpat.so:textproc/expat2 \
16
		liblcms.so:graphics/lcms
16
		liblcms.so:graphics/lcms
17
17
18
USES=		localbase scons tar:bzip2
18
USES=		localbase:ldflags scons tar:bzip2
19
USE_GCC=	any	# segfaults on exit when built with Clang
19
USE_GCC=	any	# segfaults on exit when built with Clang
20
20
21
PLIST_FILES=	bin/${PORTNAME}
21
PLIST_FILES=	bin/${PORTNAME}
(-)graphics/dcraw/Makefile (-3 / +4 lines)
Lines 12-26 COMMENT= Decoder for RAW files from digi Link Here
12
LIB_DEPENDS=	libjasper.so:graphics/jasper \
12
LIB_DEPENDS=	libjasper.so:graphics/jasper \
13
		liblcms2.so:graphics/lcms2
13
		liblcms2.so:graphics/lcms2
14
14
15
CFLAGS+=	-I${LOCALBASE}/include/jasper
15
CPPFLAGS+=	-I${LOCALBASE}/include/jasper
16
LDFLAGS+=	-ljasper -ljpeg -llcms2 -lm
16
LIBS+=		-ljasper -ljpeg -llcms2 -lm
17
USES=		jpeg localbase tar:xz
17
USES=		jpeg localbase tar:xz
18
18
19
PLIST_FILES=	bin/${PORTNAME} \
19
PLIST_FILES=	bin/${PORTNAME} \
20
		man/man1/${PORTNAME}.1.gz
20
		man/man1/${PORTNAME}.1.gz
21
21
22
do-build:
22
do-build:
23
	@cd ${WRKSRC}/ && ${CC} -o ${PORTNAME} ${CFLAGS} ${PORTNAME}.c ${LDFLAGS}
23
	@cd ${WRKSRC}/ && ${CC} -o ${PORTNAME} ${CPPFLAGS} ${CFLAGS} \
24
		${PORTNAME}.c ${LDFLAGS} ${LIBS}
24
25
25
do-install:
26
do-install:
26
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
27
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
(-)graphics/lcms/Makefile (-1 / +1 lines)
Lines 25-31 GNU_CONFIGURE= yes Link Here
25
INSTALL_TARGET=	install-strip
25
INSTALL_TARGET=	install-strip
26
TEST_TARGET=	check
26
TEST_TARGET=	check
27
USE_LDCONFIG=	yes
27
USE_LDCONFIG=	yes
28
USES=		libtool localbase pathfix
28
USES=		libtool localbase:ldflags pathfix
29
29
30
PORTDOCS=	*
30
PORTDOCS=	*
31
31
(-)graphics/lcms2/Makefile (-1 / +1 lines)
Lines 25-31 GNU_CONFIGURE= yes Link Here
25
INSTALL_TARGET=	install-strip
25
INSTALL_TARGET=	install-strip
26
TEST_TARGET=	check
26
TEST_TARGET=	check
27
USE_LDCONFIG=	yes
27
USE_LDCONFIG=	yes
28
USES=		libtool localbase pathfix
28
USES=		libtool localbase:ldflags pathfix
29
29
30
PORTDOCS=	*
30
PORTDOCS=	*
31
31
(-)graphics/libprojectm/Makefile (-1 / +1 lines)
Lines 15-21 LICENSE= LGPL21+ Link Here
15
LIB_DEPENDS=	libftgl.so:graphics/ftgl \
15
LIB_DEPENDS=	libftgl.so:graphics/ftgl \
16
		libfreetype.so:print/freetype2
16
		libfreetype.so:print/freetype2
17
17
18
USES=		cmake localbase
18
USES=		cmake localbase:ldflags
19
CMAKE_ARGS=	-DUSE_OPENMP=OFF # openmp breaks build on 11.x
19
CMAKE_ARGS=	-DUSE_OPENMP=OFF # openmp breaks build on 11.x
20
USE_GL=		glew
20
USE_GL=		glew
21
USE_LDCONFIG=	yes
21
USE_LDCONFIG=	yes
(-)graphics/pngrewrite/Makefile (-1 / +3 lines)
Lines 22-28 NO_WRKSUBDIR= yes Link Here
22
PLIST_FILES=	bin/pngrewrite
22
PLIST_FILES=	bin/pngrewrite
23
23
24
do-build:
24
do-build:
25
	${CC} ${CFLAGS} ${LDFLAGS} -lm -lpng -lz -o ${WRKSRC}/pngrewrite ${WRKSRC}/libpngrewrite.c ${WRKSRC}/pngrewrite.c
25
	${CC} ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} ${LIBS} -lm -lpng -lz \
26
		${WRKSRC}/libpngrewrite.c ${WRKSRC}/pngrewrite.c \
27
		-o ${WRKSRC}/pngrewrite
26
28
27
do-install:
29
do-install:
28
	${INSTALL_PROGRAM} ${WRKSRC}/pngrewrite ${STAGEDIR}${PREFIX}/bin/
30
	${INSTALL_PROGRAM} ${WRKSRC}/pngrewrite ${STAGEDIR}${PREFIX}/bin/
(-)graphics/poppler/files/patch-configure (-10 / +26 lines)
Lines 1-13 Link Here
1
--- configure.orig	2012-08-08 11:59:15.000000000 +0200
1
--- configure.orig	2016-07-24 22:14:28 UTC
2
+++ configure	2012-08-08 11:59:45.000000000 +0200
2
+++ configure
3
@@ -20271,8 +20271,8 @@
3
@@ -20556,7 +20556,7 @@ fi
4
 
4
 
5
           ac_save_USER_INCLUDES="$USER_INCLUDES"
5
 ac_save_CPPFLAGS="$CPPFLAGS"
6
   ac_save_USER_LDFLAGS="$USER_LDFLAGS"
6
 ac_save_CXXFLAGS="$CXXFLAGS"
7
-  USER_INCLUDES="$USER_INCLUDES $LIBJPEG_CFLAGS"
7
-ac_save_LIBS="$LDFLAGS"
8
-  USER_LDFLAGS="$USER_LDFLAGS $LIBJPEG_CFLAGS"
8
+ac_save_LIBS="$LIBS"
9
+  USER_INCLUDES="$USER_INCLUDES $LIBJPEG_CFLAGS $CPPFLAGS"
9
 CPPFLAGS="$CPPFLAGS $LIBTIFF_CFLAGS"
10
+  USER_LDFLAGS="$USER_LDFLAGS $LIBJPEG_LDFLAGS $LDFLAGS"
10
 CXXFLAGS="$CXXFLAGS $LIBTIFF_CFLAGS"
11
 LIBS="$LIBS $LIBTIFF_LIBS"
12
@@ -21387,7 +21387,7 @@ if ${ac_cv_lib_jpeg_6b+:} false; then :
13
 else
11
 
14
 
15
 ac_save_LIBS="$LIBS"
16
-LIBS="$all_libraries $USER_LDFLAGS -ljpeg6b -lm"
17
+LIBS="$LIBS $USER_LDFLAGS -ljpeg6b -lm"
18
 ac_save_CFLAGS="$CFLAGS"
19
 CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
20
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21
@@ -21438,7 +21438,7 @@ if ${ac_cv_lib_jpeg_normal+:} false; the
22
 else
12
 
23
 
13
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libjpeg6b" >&5
24
 ac_save_LIBS="$LIBS"
25
-LIBS="$all_libraries $USER_LDFLAGS -ljpeg -lm"
26
+LIBS="$LIBS $USER_LDFLAGS -ljpeg -lm"
27
 ac_save_CFLAGS="$CFLAGS"
28
 CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
29
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
(-)graphics/py-ming/Makefile (-1 / +1 lines)
Lines 27-33 CONFIGURE_ARGS= --enable-python Link Here
27
CONFIGURE_ENV=	PYTHON_LDFLAGS="-L${PYTHON_LIBDIR} -l${PYTHON_VERSION}${PYTHON_ABIVER}"
27
CONFIGURE_ENV=	PYTHON_LDFLAGS="-L${PYTHON_LIBDIR} -l${PYTHON_VERSION}${PYTHON_ABIVER}"
28
GNU_CONFIGURE=	yes
28
GNU_CONFIGURE=	yes
29
USE_PYTHON=	autoplist concurrent distutils
29
USE_PYTHON=	autoplist concurrent distutils
30
USES=		autoreconf libtool localbase python
30
USES=		autoreconf libtool localbase:ldflags python
31
31
32
BUILD_WRKSRC=	${WRKSRC}/py_ext
32
BUILD_WRKSRC=	${WRKSRC}/py_ext
33
INSTALL_WRKSRC=	${WRKSRC}/py_ext
33
INSTALL_WRKSRC=	${WRKSRC}/py_ext
(-)mail/libetpan/files/patch-configure.ac (+18 lines)
Line 0 Link Here
1
--- configure.ac.orig	2016-05-26 05:27:47 UTC
2
+++ configure.ac
3
@@ -313,13 +313,13 @@ if test x$enable_iconv = xyes; then
4
      saved_LIBS="$LIBS"
5
      for lib in iconv ; do
6
        if test "x$ICONV_LINKED" = "x0" ; then
7
-	 LIBS=-l$lib
8
+	 LIBS="-l$lib $saved_LIBS"
9
          AC_TRY_LINK([#include <stdlib.h>
10
 #include <iconv.h>],
11
          [iconv_t cd = iconv_open("","");
12
           iconv(cd,NULL,NULL,NULL,NULL);
13
           iconv_close(cd);],
14
-         [LIBICONV="$LIBS" ; ICONV_LINKED=1],
15
+         [LIBICONV="-l$lib" ; ICONV_LINKED=1],
16
          [])
17
        fi
18
      done
(-)mail/neomutt/Makefile (+1 lines)
Lines 81-86 DOCS_BUILD_DEPENDS= xsltproc:textproc/li Link Here
81
81
82
post-patch:
82
post-patch:
83
	@${REINPLACE_CMD} -e "s/\`date/\`gdate/" ${WRKSRC}/Makefile.am ${WRKSRC}/doc/Makefile.am
83
	@${REINPLACE_CMD} -e "s/\`date/\`gdate/" ${WRKSRC}/Makefile.am ${WRKSRC}/doc/Makefile.am
84
	@${REINPLACE_CMD} '/LIBS=$$/d' ${WRKSRC}/configure.ac
84
85
85
post-install:
86
post-install:
86
	${RM} -f ${STAGEDIR}${PREFIX}/etc/mime*
87
	${RM} -f ${STAGEDIR}${PREFIX}/etc/mime*
(-)mail/wmmaiload/Makefile (-6 / +4 lines)
Lines 12-27 COMMENT= Incoming mail monitor dockapp w Link Here
12
LICENSE=	GPLv2+
12
LICENSE=	GPLv2+
13
LICENSE_FILE=	${WRKSRC}/COPYING
13
LICENSE_FILE=	${WRKSRC}/COPYING
14
14
15
USES=		gmake localbase pkgconfig tar:bzip2
15
USES=		gmake localbase:ldflags pkgconfig ssl tar:bzip2
16
USE_XORG=	xpm
16
USE_XORG=	xpm
17
USE_GNOME=	gtk20
17
USE_GNOME=	gtk20
18
USE_OPENSSL=	yes
19
HAS_CONFIGURE=	yes
18
HAS_CONFIGURE=	yes
20
CONFIGURE_ARGS=	--prefix=${PREFIX}
19
CONFIGURE_ARGS=	--prefix=${PREFIX}
21
MAKE_ENV=	DEBUG_CFLAGS="-I${OPENSSLINC}" \
20
CPPFLAGS+=	-I${OPENSSLINC} -D_GNU_SOURCE
22
		DEBUG_LDFLAGS="-L${OPENSSLLIB}"
21
LDFLAGS+=	-L${OPENSSLLIB}
23
22
MAKE_ENV=	DEBUG_CFLAGS="" DEBUG_LDFLAGS=""
24
CFLAGS+=	-D_GNU_SOURCE
25
23
26
PLIST_FILES=	bin/wmmaiload bin/wmmaiload-config \
24
PLIST_FILES=	bin/wmmaiload bin/wmmaiload-config \
27
		man/man1/wmmaiload.1.gz man/man1/wmmaiload-config.1.gz
25
		man/man1/wmmaiload.1.gz man/man1/wmmaiload-config.1.gz
(-)misc/getopt/Makefile (-1 / +1 lines)
Lines 24-30 PORTDOCS= Changelog README Link Here
24
NLS_MAKE_ARGS=		WITHOUT_GETTEXT=0
24
NLS_MAKE_ARGS=		WITHOUT_GETTEXT=0
25
NLS_MAKE_ARGS_OFF=	WITHOUT_GETTEXT=1
25
NLS_MAKE_ARGS_OFF=	WITHOUT_GETTEXT=1
26
NLS_LDFLAGS=		-lintl
26
NLS_LDFLAGS=		-lintl
27
NLS_USES=		gettext localbase
27
NLS_USES=		gettext localbase:ldflags
28
28
29
post-patch:
29
post-patch:
30
	@${RM} ${WRKSRC}/gnu/*.o
30
	@${RM} ${WRKSRC}/gnu/*.o
(-)multimedia/lives/Makefile (-2 / +2 lines)
Lines 58-65 USE_LDCONFIG= yes Link Here
58
CONFIGURE_ARGS=	--disable-ldvgrab
58
CONFIGURE_ARGS=	--disable-ldvgrab
59
INSTALL_TARGET=	install-strip
59
INSTALL_TARGET=	install-strip
60
60
61
CPPFLAGS+=	-fPIC
62
63
DOC_FILES=	AUTHORS BUGS ChangeLog FEATURES GETTING.STARTED README \
61
DOC_FILES=	AUTHORS BUGS ChangeLog FEATURES GETTING.STARTED README \
64
		OMC/lives-OMC.txt RFX/LiVES-Perl.odt RFX/rfxbuilder.odt \
62
		OMC/lives-OMC.txt RFX/LiVES-Perl.odt RFX/rfxbuilder.odt \
65
		RFX/RFX.spec docs/clip_format.txt \
63
		RFX/RFX.spec docs/clip_format.txt \
Lines 79-84 NLS_USES= gettext-tools Link Here
79
NLS_CONFIGURE_OFF=	--disable-nls
77
NLS_CONFIGURE_OFF=	--disable-nls
80
78
81
post-patch:
79
post-patch:
80
	@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} \
81
		's/^LIBS = $$/&@LIBS@/'
82
	@${REINPLACE_CMD} -e 's| install-docDATA||g; s|-$$(VERSION)||g' \
82
	@${REINPLACE_CMD} -e 's| install-docDATA||g; s|-$$(VERSION)||g' \
83
		${WRKSRC}/Makefile.in
83
		${WRKSRC}/Makefile.in
84
	@${REINPLACE_CMD} -e 's|: install-data-local |: |g; s|-ldl||' \
84
	@${REINPLACE_CMD} -e 's|: install-data-local |: |g; s|-ldl||' \
(-)multimedia/mpv/Makefile (-1 / +2 lines)
Lines 24-30 GH_TAGNAME= waf-1.9.3:waf Link Here
24
24
25
WAF_CMD=	${WRKSRC_waf}/waf-light
25
WAF_CMD=	${WRKSRC_waf}/waf-light
26
26
27
USES=		compiler:c11 desktop-file-utils iconv jpeg localbase pkgconfig python:build waf
27
USES=		compiler:c11 desktop-file-utils iconv jpeg localbase:ldflags \
28
		pkgconfig python:build waf
28
USE_LDCONFIG=	yes
29
USE_LDCONFIG=	yes
29
30
30
CONFIGURE_ARGS=	--docdir=${EXAMPLESDIR} \
31
CONFIGURE_ARGS=	--docdir=${EXAMPLESDIR} \
(-)multimedia/oqtencoder/Makefile (-1 / +1 lines)
Lines 13-19 COMMENT= Simple encoder using OpenQuickt Link Here
13
13
14
LIB_DEPENDS=	libopenquicktime.so:multimedia/openquicktime
14
LIB_DEPENDS=	libopenquicktime.so:multimedia/openquicktime
15
15
16
USES=		localbase tar:tgz
16
USES=		localbase:ldflags tar:tgz
17
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
17
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
18
18
19
PLIST_FILES=	bin/oqtencoder
19
PLIST_FILES=	bin/oqtencoder
(-)net/axa/Makefile (-2 / +2 lines)
Lines 46-54 LDFLAGS+= -lm Link Here
46
IGNORE=	base OpenSSL in FreeBSD 9 is too old, specify a ports version of SSL by adding DEFAULT_VERSIONS+=ssl=... to /etc/make.conf and rebuild everything that needs SSL
46
IGNORE=	base OpenSSL in FreeBSD 9 is too old, specify a ports version of SSL by adding DEFAULT_VERSIONS+=ssl=... to /etc/make.conf and rebuild everything that needs SSL
47
. else
47
. else
48
CONFIGURE_ENV+=	libcrypto_CFLAGS="-I${OPENSSLINC}"		\
48
CONFIGURE_ENV+=	libcrypto_CFLAGS="-I${OPENSSLINC}"		\
49
		libcrypto_LIBS="-L${OPENSSLLIB} -lcrypto"	\
49
		libcrypto_LIBS="${OPENSSLLIB}/libcrypto.so"	\
50
		libssl_CFLAGS="-I${OPENSSLINC}"			\
50
		libssl_CFLAGS="-I${OPENSSLINC}"			\
51
		libssl_LIBS="-L${OPENSSLLIB} -lssl"
51
		libssl_LIBS="${OPENSSLLIB}/libssl.so"
52
. endif
52
. endif
53
.endif
53
.endif
54
54
(-)net/gnu-dico/Makefile (-2 / +4 lines)
Lines 16-22 USE_LDCONFIG= yes Link Here
16
USES=		tar:xz gmake libtool localbase pkgconfig
16
USES=		tar:xz gmake libtool localbase pkgconfig
17
17
18
GNU_CONFIGURE=	yes
18
GNU_CONFIGURE=	yes
19
CONFIGURE_ARGS=	--localstatedir=/var
20
19
21
INFO=		dico
20
INFO=		dico
22
21
Lines 54-60 post-patch: Link Here
54
	@${REINPLACE_CMD} 's/@bindir@/@sbindir@/' ${WRKSRC}/dicod/Makefile.in
53
	@${REINPLACE_CMD} 's/@bindir@/@sbindir@/' ${WRKSRC}/dicod/Makefile.in
55
	@${REINPLACE_CMD} 's/(bindir)..dir/&\/gdico/' ${WRKSRC}/dico/Makefile.in
54
	@${REINPLACE_CMD} 's/(bindir)..dir/&\/gdico/' ${WRKSRC}/dico/Makefile.in
56
	@${REINPLACE_CMD} '/INSTALL.*charset/d' ${WRKSRC}/gnu/Makefile.in
55
	@${REINPLACE_CMD} '/INSTALL.*charset/d' ${WRKSRC}/gnu/Makefile.in
57
	@${REINPLACE_CMD} 's/python-config/$${PYTHON_CONFIG}/' ${WRKSRC}/configure
56
	@${REINPLACE_CMD} \
57
		-e 's/mu_check_lib_save_LIBS/LIBS/' \
58
		-e 's/python-config/$${PYTHON_CONFIG}/' \
59
		${WRKSRC}/configure
58
	@${REINPLACE_CMD} 's/conf.5in dico/conf.5 dico/' ${WRKSRC}/doc/Makefile.in
60
	@${REINPLACE_CMD} 's/conf.5in dico/conf.5 dico/' ${WRKSRC}/doc/Makefile.in
59
61
60
post-install:
62
post-install:
(-)net/ldap2dns/Makefile (-1 / +1 lines)
Lines 18-24 RUN_DEPENDS= p5-Net-DNS>=0:dns/p5-Net-DN Link Here
18
USE_GITHUB=	yes
18
USE_GITHUB=	yes
19
GH_ACCOUNT=	bklang
19
GH_ACCOUNT=	bklang
20
20
21
USES=		gmake localbase perl5 shebangfix
21
USES=		gmake localbase:ldflags perl5 shebangfix
22
SHEBANG_FILES=	scripts/*.pl
22
SHEBANG_FILES=	scripts/*.pl
23
USE_PERL5=	run
23
USE_PERL5=	run
24
USE_OPENLDAP=	yes
24
USE_OPENLDAP=	yes
(-)net/ntp/Makefile (-1 / +2 lines)
Lines 18-24 LIB_DEPENDS= libevent.so:devel/libevent2 Link Here
18
18
19
CONFLICTS=	ntp-rc-* ntp-devel-*
19
CONFLICTS=	ntp-rc-* ntp-devel-*
20
20
21
USES=		cpe pathfix shebangfix libedit libtool pkgconfig ssl
21
USES=		cpe pathfix shebangfix libedit libtool localbase:ldflags \
22
		pkgconfig ssl
22
23
23
GNU_CONFIGURE=	yes
24
GNU_CONFIGURE=	yes
24
25
(-)net/ntp-devel/Makefile (-2 / +2 lines)
Lines 18-25 LIB_DEPENDS= libevent.so:devel/libevent2 Link Here
18
18
19
CONFLICTS=	ntp-[0-9].* ntp-rc-*
19
CONFLICTS=	ntp-[0-9].* ntp-rc-*
20
20
21
USES=		cpe pathfix shebangfix libedit libtool pkgconfig ssl \
21
USES=		cpe pathfix shebangfix libedit libtool localbase:ldflags \
22
		gettext-runtime
22
		pkgconfig ssl gettext-runtime
23
23
24
GNU_CONFIGURE=	yes
24
GNU_CONFIGURE=	yes
25
25
(-)net-mgmt/ettercap/Makefile (-1 / +1 lines)
Lines 32-38 CMAKE_ARGS= -DBUNDLED_LIBS=OFF \ Link Here
32
LDFLAGS+=	${ICONV_LIB} -lnet -lpcap
32
LDFLAGS+=	${ICONV_LIB} -lnet -lpcap
33
MAKE_JOBS_UNSAFE=	yes
33
MAKE_JOBS_UNSAFE=	yes
34
USE_LDCONFIG=	yes
34
USE_LDCONFIG=	yes
35
USES=		bison cmake:outsource cpe iconv localbase pkgconfig
35
USES=		bison cmake:outsource cpe iconv localbase:ldflags pkgconfig
36
36
37
DOCS=		AUTHORS CHANGELOG README README.BINARIES README.BUGS \
37
DOCS=		AUTHORS CHANGELOG README README.BINARIES README.BUGS \
38
		README.GIT README.PLATFORMS THANKS TODO TODO.TESTING \
38
		README.GIT README.PLATFORMS THANKS TODO TODO.TESTING \
(-)net-p2p/gtk-gnutella/Makefile (-1 / +1 lines)
Lines 11-17 COMMENT= GTK based Gnutella client Link Here
11
11
12
LICENSE=	GPLv2+
12
LICENSE=	GPLv2+
13
13
14
USES=		iconv localbase pkgconfig tar:bzip2
14
USES=		iconv localbase:ldflags pkgconfig tar:bzip2
15
USE_GNOME=	glib20 libxml2
15
USE_GNOME=	glib20 libxml2
16
HAS_CONFIGURE=	yes
16
HAS_CONFIGURE=	yes
17
CONFIGURE_SCRIPT=	Configure
17
CONFIGURE_SCRIPT=	Configure
(-)net-p2p/transmission-cli/files/patch-configure (+20 lines)
Line 0 Link Here
1
--- configure.orig	2016-03-06 20:24:37 UTC
2
+++ configure
3
@@ -19348,7 +19348,7 @@ $as_echo_n "checking µTP... " >&6; }
4
 build_utp="no"
5
 
6
 ac_save_LIBS="$LIBS"
7
-LIBS="-lutp"
8
+LIBS="-lutp $LIBS"
9
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10
 /* end confdefs.h.  */
11
 #include <libutp/utp.h>
12
@@ -19423,7 +19423,7 @@ $as_echo "$build_utp" >&6; }
13
 
14
 
15
 ac_save_LIBS="$LIBS"
16
-LIBS="-lminiupnpc"
17
+LIBS="-lminiupnpc $LIBS"
18
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking system miniupnpc library" >&5
19
 $as_echo_n "checking system miniupnpc library... " >&6; }
20
 
(-)net-p2p/transmission-cli/files/patch-daemon_Makefile.in (-11 lines)
Lines 1-11 Link Here
1
--- daemon/Makefile.in.orig	2015-04-15 08:35:09 UTC
2
+++ daemon/Makefile.in
3
@@ -141,7 +141,7 @@ am__v_CC_1 = 
4
 CCLD = $(CC)
5
 LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
6
 	$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
7
-	$(AM_LDFLAGS) $(LDFLAGS) -o $@
8
+	$(LDFLAGS) $(AM_LDFLAGS) -o $@
9
 AM_V_CCLD = $(am__v_CCLD_@AM_V@)
10
 am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
11
 am__v_CCLD_0 = @echo "  CCLD    " $@;
(-)security/ike/Makefile (-1 / +1 lines)
Lines 14-20 COMMENT= Shrew Soft IKE daemon and clien Link Here
14
ONLY_FOR_ARCHS=	i386 amd64
14
ONLY_FOR_ARCHS=	i386 amd64
15
15
16
USE_RC_SUBR=	iked
16
USE_RC_SUBR=	iked
17
USES=		bison cmake libedit tar:tbz2
17
USES=		bison cmake libedit localbase:ldflags tar:tbz2
18
USE_OPENSSL=	yes
18
USE_OPENSSL=	yes
19
USE_LDCONFIG=	yes
19
USE_LDCONFIG=	yes
20
WRKSRC=		${WRKDIR}/${PORTNAME}
20
WRKSRC=		${WRKDIR}/${PORTNAME}
(-)sysutils/android-file-transfer/Makefile (-1 / +1 lines)
Lines 16-22 USE_GITHUB= yes Link Here
16
GH_ACCOUNT=	whoozle
16
GH_ACCOUNT=	whoozle
17
GH_PROJECT=	${PORTNAME}-linux
17
GH_PROJECT=	${PORTNAME}-linux
18
18
19
USES=		cmake compiler:c++11-lib localbase pkgconfig
19
USES=		cmake compiler:c++11-lib localbase:ldflags pkgconfig
20
CMAKE_ARGS=	-DUSB_BACKEND_LIBUSB=on -DBUILD_QT_UI=off
20
CMAKE_ARGS=	-DUSB_BACKEND_LIBUSB=on -DBUILD_QT_UI=off
21
21
22
OPTIONS_DEFAULT=CLI FUSE
22
OPTIONS_DEFAULT=CLI FUSE
(-)sysutils/fusefs-unionfs/Makefile (-1 / +1 lines)
Lines 23-29 PLIST_FILES= bin/unionfs \ Link Here
23
		bin/unionfsctl \
23
		bin/unionfsctl \
24
		man/man8/unionfs.8.gz
24
		man/man8/unionfs.8.gz
25
25
26
USES=		fuse cmake localbase
26
USES=		fuse cmake localbase:ldflags
27
27
28
post-patch:
28
post-patch:
29
	@${REINPLACE_CMD} "s,share/man,man,g" ${WRKSRC}/man/CMakeLists.txt
29
	@${REINPLACE_CMD} "s,share/man,man,g" ${WRKSRC}/man/CMakeLists.txt
(-)sysutils/pciutils/Makefile (-1 / +1 lines)
Lines 21-27 ALL_TARGET= lspci lspci.8 setpci setpci. Link Here
21
CPPFLAGS+=	-fPIC
21
CPPFLAGS+=	-fPIC
22
LDFLAGS+=	-lpci
22
LDFLAGS+=	-lpci
23
MAKE_ENV=	LANG=C
23
MAKE_ENV=	LANG=C
24
USES=		gmake localbase tar:xz
24
USES=		gmake localbase:ldflags tar:xz
25
25
26
PLIST_FILES=	bin/lspci \
26
PLIST_FILES=	bin/lspci \
27
		bin/setpci \
27
		bin/setpci \
(-)sysutils/xen-tools/Makefile (-2 / +2 lines)
Lines 28-35 OPTIONS_DEFINE= DOCS Link Here
28
ONLY_FOR_ARCHS=	amd64
28
ONLY_FOR_ARCHS=	amd64
29
ONLY_FOR_ARCHS_REASON=	"not yet ported to anything other than amd64"
29
ONLY_FOR_ARCHS_REASON=	"not yet ported to anything other than amd64"
30
30
31
USES=		cpe gmake libtool perl5 pkgconfig python shebangfix localbase \
31
USES=		cpe gettext gmake libtool localbase:ldflags perl5 pkgconfig \
32
		gettext
32
		python shebangfix
33
USE_GNOME=	glib20
33
USE_GNOME=	glib20
34
USE_LDCONFIG=	yes
34
USE_LDCONFIG=	yes
35
GNU_CONFIGURE=	yes
35
GNU_CONFIGURE=	yes
(-)x11/qterminal/Makefile (-1 / +1 lines)
Lines 13-19 LICENSE= GPLv2 Link Here
13
LIB_DEPENDS=	libqtermwidget5.so:x11-toolkits/qtermwidget
13
LIB_DEPENDS=	libqtermwidget5.so:x11-toolkits/qtermwidget
14
RUN_DEPENDS=	liberation-fonts-ttf>=2.00:x11-fonts/liberation-fonts-ttf
14
RUN_DEPENDS=	liberation-fonts-ttf>=2.00:x11-fonts/liberation-fonts-ttf
15
15
16
USES=		cmake:outsource compiler:c++11-lang gettext localbase \
16
USES=		cmake:outsource compiler:c++11-lang gettext localbase:ldflags \
17
		pkgconfig
17
		pkgconfig
18
USE_QT5+=	buildtools_build core gui linguisttools_build qmake_build widgets
18
USE_QT5+=	buildtools_build core gui linguisttools_build qmake_build widgets
19
USE_XORG+=	x11
19
USE_XORG+=	x11

Return to bug 212987