aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/unalz/Makefile
diff options
context:
space:
mode:
authorrakuco <rakuco@FreeBSD.org>2013-11-18 05:35:00 +0800
committerrakuco <rakuco@FreeBSD.org>2013-11-18 05:35:00 +0800
commit7258de6f3e27a5bc069b9779b43c995fd57dd48d (patch)
tree5c193e509604a53b75ce1c0ba2adfa1d91633595 /archivers/unalz/Makefile
parent155fce8f3182f3b1c4201874ebcbd042da33ebb6 (diff)
downloadfreebsd-ports-gnome-7258de6f3e27a5bc069b9779b43c995fd57dd48d.tar.gz
freebsd-ports-gnome-7258de6f3e27a5bc069b9779b43c995fd57dd48d.tar.zst
freebsd-ports-gnome-7258de6f3e27a5bc069b9779b43c995fd57dd48d.zip
- Fix the build with libc++.
- Fix the build with iconv in base. - Be verbose in the sed calls done in post-patch.
Diffstat (limited to 'archivers/unalz/Makefile')
-rw-r--r--archivers/unalz/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/archivers/unalz/Makefile b/archivers/unalz/Makefile
index 900273cbb713..c317d4d43eb1 100644
--- a/archivers/unalz/Makefile
+++ b/archivers/unalz/Makefile
@@ -30,7 +30,9 @@ UNALZ_OBJS= main.o UnAlz.o UnAlzUtils.o UnAlzBz2decompress.o \
UnAlzBzip2.o UnAlzbzlib.o
post-patch:
- @${REINPLACE_CMD} -e \
+ ${REINPLACE_CMD} -e \
+ 's/-liconv/${ICONV_LIB}/g' ${WRKSRC}/Makefile
+ ${REINPLACE_CMD} -e \
'/<sys\/timeb.h>/d' ${WRKSRC}/main.cpp
do-install: