[Midnightbsd-cvs] mports [24135] trunk/converters/unix2dos: fix build

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Mon Sep 3 12:59:28 EDT 2018


Revision: 24135
          http://svnweb.midnightbsd.org/mports/?rev=24135
Author:   laffer1
Date:     2018-09-03 12:59:27 -0400 (Mon, 03 Sep 2018)
Log Message:
-----------
fix build

Modified Paths:
--------------
    trunk/converters/unix2dos/Makefile

Added Paths:
-----------
    trunk/converters/unix2dos/files/
    trunk/converters/unix2dos/files/patch-unix2dos.c

Modified: trunk/converters/unix2dos/Makefile
===================================================================
--- trunk/converters/unix2dos/Makefile	2018-09-03 16:54:46 UTC (rev 24134)
+++ trunk/converters/unix2dos/Makefile	2018-09-03 16:59:27 UTC (rev 24135)
@@ -12,11 +12,12 @@
 LICENSE=	unknown
 
 NO_WRKSUBDIR=	yes
+WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKDIR}/unix2dos ${PREFIX}/bin/unix2dos
+	${INSTALL_PROGRAM} ${WRKSRC}/unix2dos ${PREFIX}/bin/unix2dos
 	${LN} -f ${PREFIX}/bin/unix2dos ${PREFIX}/bin/dos2unix
-	${INSTALL_MAN} ${WRKDIR}/man1/unix2dos.1 ${MANPREFIX}/man/man1
-	${INSTALL_MAN} ${WRKDIR}/man1/dos2unix.1 ${MANPREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/man1/unix2dos.1 ${MANPREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/man1/dos2unix.1 ${MANPREFIX}/man/man1
 
 .include <bsd.port.mk>

Added: trunk/converters/unix2dos/files/patch-unix2dos.c
===================================================================
--- trunk/converters/unix2dos/files/patch-unix2dos.c	                        (rev 0)
+++ trunk/converters/unix2dos/files/patch-unix2dos.c	2018-09-03 16:59:27 UTC (rev 24135)
@@ -0,0 +1,8 @@
+--- unix2dos.c.orig	2001-05-23 01:58:39.000000000 +0200
++++ unix2dos.c	2014-01-27 22:41:13.000000000 +0100
+@@ -1,4 +1,5 @@
+ #include <stdio.h>
++#include <stdlib.h>
+ #include <string.h>
+ #include <unistd.h>
+ #include <sys/types.h>


Property changes on: trunk/converters/unix2dos/files/patch-unix2dos.c
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property


More information about the Midnightbsd-cvs mailing list