aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2006-12-01 15:47:54 +0800
committermiwi <miwi@FreeBSD.org>2006-12-01 15:47:54 +0800
commit353d1b893bc17ce4aca5f93cdf84cd09d019214a (patch)
tree7447a1439d86f89ed535cd442be547f4884a24d9 /net
parent82bed4ab12aa55b5793807c312df526af0e48b4d (diff)
downloadfreebsd-ports-gnome-353d1b893bc17ce4aca5f93cdf84cd09d019214a.tar.gz
freebsd-ports-gnome-353d1b893bc17ce4aca5f93cdf84cd09d019214a.tar.zst
freebsd-ports-gnome-353d1b893bc17ce4aca5f93cdf84cd09d019214a.zip
- Use USE_DOS2UNIX
PR: 106106 Submitted by: Alexander Logvinov (maintainer)
Diffstat (limited to 'net')
-rw-r--r--net/uproxy/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/net/uproxy/Makefile b/net/uproxy/Makefile
index 35cbaed632c6..72c6dd7f6de2 100644
--- a/net/uproxy/Makefile
+++ b/net/uproxy/Makefile
@@ -17,12 +17,10 @@ COMMENT= Proxy for UDP protocols
USE_ZIP= yes
NO_WRKSUBDIR= yes
USE_RC_SUBR= ${PORTNAME}
+USE_DOS2UNIX= ${DISTNAME}.c
PORTDOCS= index.html
PLIST_FILES= sbin/${PORTNAME}
-pre-patch:
- @${CAT} ${WRKSRC}/${DISTNAME}.c | ${SED} "s/`printf '\r'`//" > ${WRKSRC}/${DISTNAME}.c
-
do-build:
(cd ${WRKSRC} && ${CC} ${CFLAGS} -o t${PORTNAME} ${DISTNAME}.c)