diff options
author | fjoe <fjoe@FreeBSD.org> | 2013-05-09 17:25:26 +0800 |
---|---|---|
committer | fjoe <fjoe@FreeBSD.org> | 2013-05-09 17:25:26 +0800 |
commit | d6b269a9fa1714cf62bf56091c59c37dad2dac51 (patch) | |
tree | 9360e74248358ff3ff34117aebe791064778d947 /archivers | |
parent | 3ea0852cf960bacf83882465a3a58d8782f10aea (diff) | |
download | freebsd-ports-gnome-d6b269a9fa1714cf62bf56091c59c37dad2dac51.tar.gz freebsd-ports-gnome-d6b269a9fa1714cf62bf56091c59c37dad2dac51.tar.zst freebsd-ports-gnome-d6b269a9fa1714cf62bf56091c59c37dad2dac51.zip |
Unbreak the build.
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/unalz/Makefile | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/archivers/unalz/Makefile b/archivers/unalz/Makefile index 3a0c18530e37..9ee89af2a4d4 100644 --- a/archivers/unalz/Makefile +++ b/archivers/unalz/Makefile @@ -3,6 +3,7 @@ PORTNAME= unalz PORTVERSION= 0.65 +PORTREVISION= 1 CATEGORIES= archivers MASTER_SITES= http://www.kipple.pe.kr/win/unalz/ \ http://www.c-s.li/ports/ @@ -13,23 +14,13 @@ COMMENT= Extracts AlZip archives LICENSE_FILE= ${WRKSRC}/readme.txt -BROKEN= fails to build USES= iconv PLIST_FILES= bin/unalz MAKEFILE= Makefile.freebsd -CPPFLAGS+= -I${LOCALBASE}/include +CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib WRKSRC= ${WRKDIR}/unalz -pre-patch: - cd ${WRKSRC} && for f in `find . -name '*.c' -o -name '*.h'`; do \ - ${TR} -d '\015' < ${WRKSRC}/$$f > ${WRKSRC}/$$f.tmp && \ - ${MV} -f ${WRKSRC}/$$f.tmp ${WRKSRC}/$$f; \ - done - ${REINPLACE_CMD} -e 's|CPP = g++|CPP = ${CXX}|' \ - -e "s|CC =|CC ?=|" \ - ${WRKSRC}/Makefile - do-install: ${INSTALL_PROGRAM} ${WRKSRC}/unalz ${PREFIX}/bin |