diff options
author | perky <perky@FreeBSD.org> | 2005-11-23 12:52:56 +0800 |
---|---|---|
committer | perky <perky@FreeBSD.org> | 2005-11-23 12:52:56 +0800 |
commit | 8f2a116f281927490decd8a5744940093ed290ea (patch) | |
tree | 4beac05fb3923a59bfa5d8f901e129d35ef4fa74 /archivers/unalz | |
parent | 749e3831e4daba76f3574130c243657681455fe9 (diff) | |
download | freebsd-ports-gnome-8f2a116f281927490decd8a5744940093ed290ea.tar.gz freebsd-ports-gnome-8f2a116f281927490decd8a5744940093ed290ea.tar.zst freebsd-ports-gnome-8f2a116f281927490decd8a5744940093ed290ea.zip |
Fix build on -STABLE.
Spotted by: kris
Diffstat (limited to 'archivers/unalz')
-rw-r--r-- | archivers/unalz/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/archivers/unalz/Makefile b/archivers/unalz/Makefile index e6ef72525748..9d1c50a39f94 100644 --- a/archivers/unalz/Makefile +++ b/archivers/unalz/Makefile @@ -21,6 +21,12 @@ MAKE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \ LDFLAGS="${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 + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/unalz ${PREFIX}/bin |