Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jan 2014 08:38:30 +0400 (MSK)
From:      Dmitry Marakasov <amdmi3@amdmi3.ru>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/185956: [PATCH] textproc/clit: fix build on 10.x
Message-ID:  <20140121043830.630CD18867@hades.panopticon>
Resent-Message-ID: <201401210440.s0L4e1GW060680@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         185956
>Category:       ports
>Synopsis:       [PATCH] textproc/clit: fix build on 10.x
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 21 04:40:01 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 10.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD hades.panopticon 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260807: Fri Jan 17 13:14:28 MSK
>Description:
- Fix build on 10.x
- Support staging
- Convert USE_GMAKE to USES

Port maintainer (itetcu@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_11 (mode: change, diff: SVN)
>How-To-Repeat:
>Fix:

--- clit-1.8.patch begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 340547)
+++ Makefile	(working copy)
@@ -23,9 +23,8 @@
 PLIST_FILES=	bin/clit
 
 USE_ZIP=	yes
-USE_GMAKE=	yes
+USES=		gmake
 
-NO_STAGE=	yes
 post-extract:
 	cd ${WRKDIR} && ${BZIP2_CMD} -dc "${DISTDIR}/ltm-0.33.tar.bz2" | \
 		${TAR} -xf -
@@ -43,6 +42,6 @@
 
 do-install:
 	@${INSTALL_PROGRAM} ${WRKDIR}/${PORTNAME}${MAJ_VER}${MIN_VER}/clit \
-		${LOCALBASE}/bin
+		${STAGEDIR}${PREFIX}/bin
 
 .include <bsd.port.mk>
Index: files/patch-clit_Makefile
===================================================================
--- files/patch-clit_Makefile	(revision 340547)
+++ files/patch-clit_Makefile	(working copy)
@@ -10,5 +10,5 @@
  
  clit: clit.o hexdump.o drm5.o explode.o transmute.o display.o utils.o manifest.o ../lib/openclit.a 
 -	gcc -o clit $^  ../libtommath-0.30/libtommath.a
-+	gcc -o clit $^  ../libtommath-0.33/libtommath.a
++	${CC} -o clit $^  ../libtommath-0.33/libtommath.a
  
--- clit-1.8.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140121043830.630CD18867>