aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorGuido Falsi <madpilot@FreeBSD.org>2013-09-04 18:06:07 +0000
committerGuido Falsi <madpilot@FreeBSD.org>2013-09-04 18:06:07 +0000
commit642be1b81d8342d3a3323f43bcf5a0bd87a5d363 (patch)
treef71b3671c7729b9cbc9368cea2f2fede7b20d5c8 /sysutils
parentbcaced2c93b58d27ca266602f4049df6ba6becb3 (diff)
Notes
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/fusefs-chironfs/Makefile1
-rw-r--r--sysutils/fusefs-gunzip/Makefile2
-rw-r--r--sysutils/libcdio/Makefile2
-rw-r--r--sysutils/mapchan/Makefile2
4 files changed, 4 insertions, 3 deletions
diff --git a/sysutils/fusefs-chironfs/Makefile b/sysutils/fusefs-chironfs/Makefile
index d7d0411c71d7..65d168dde891 100644
--- a/sysutils/fusefs-chironfs/Makefile
+++ b/sysutils/fusefs-chironfs/Makefile
@@ -24,5 +24,6 @@ post-patch:
.if defined(NOPORTDOCS)
@${REINPLACE_CMD} -e 's, doc , ,' ${WRKSRC}/Makefile.in
.endif
+ @${REINPLACE_CMD} -e 's,-liconv,${ICONV_LIB},' ${WRKSRC}/src/Makefile.*
.include <bsd.port.mk>
diff --git a/sysutils/fusefs-gunzip/Makefile b/sysutils/fusefs-gunzip/Makefile
index e4c28789e902..6af189ee7401 100644
--- a/sysutils/fusefs-gunzip/Makefile
+++ b/sysutils/fusefs-gunzip/Makefile
@@ -21,7 +21,7 @@ do-build:
${CC} ${CFLAGS} -I${LOCALBASE}/include -I${LOCALBASE}/include/fuse \
-D_FILE_OFFSET_BITS=64 \
-o fuse.gunzip fuse.gunzip.c -L${LOCALBASE}/lib \
- -lulockmgr -lz -lfuse -liconv -lm)
+ -lulockmgr -lz -lfuse ${ICONV_LIB} -lm)
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/fuse.gunzip ${PREFIX}/bin
diff --git a/sysutils/libcdio/Makefile b/sysutils/libcdio/Makefile
index ff405aa34257..d280eb2b6ae9 100644
--- a/sysutils/libcdio/Makefile
+++ b/sysutils/libcdio/Makefile
@@ -24,7 +24,7 @@ USE_LDCONFIG= yes
CONFIGURE_ARGS+=--with-libiconv-prefix=${LOCALBASE}
USE_PERL5_BUILD=yes
CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib -liconv
+LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
MAN1= cd-drive.1 cd-info.1 iso-read.1 iso-info.1 cd-read.1
INFO= libcdio
diff --git a/sysutils/mapchan/Makefile b/sysutils/mapchan/Makefile
index e389b0e4278b..670ce59c1600 100644
--- a/sysutils/mapchan/Makefile
+++ b/sysutils/mapchan/Makefile
@@ -14,7 +14,7 @@ USES= iconv
WRKSRC= ${WRKDIR}/${PORTNAME}
MAKE_ENV= MAPDIR=${PREFIX}/etc/${PORTNAME}
CFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib -liconv
+LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
ETCDAT= *.map default.sample
MAN8= mapchan.8
PORTDOCS= README