Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Apr 2014 16:52:59 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r352688 - head/lang/onyx
Message-ID:  <201404301652.s3UGqx2b034151@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Wed Apr 30 16:52:58 2014
New Revision: 352688
URL: http://svnweb.freebsd.org/changeset/ports/352688
QAT: https://qat.redports.org/buildarchive/r352688/

Log:
  chase libedit change with a simple bump as the port build system does not seems to support destdir at all
  
  With hat:	portmgr

Modified:
  head/lang/onyx/Makefile

Modified: head/lang/onyx/Makefile
==============================================================================
--- head/lang/onyx/Makefile	Wed Apr 30 16:21:33 2014	(r352687)
+++ head/lang/onyx/Makefile	Wed Apr 30 16:52:58 2014	(r352688)
@@ -3,7 +3,7 @@
 
 PORTNAME=	onyx
 PORTVERSION=	5.1.2
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	lang
 MASTER_SITES=	http://www.canonware.com/download/onyx/
 
@@ -11,25 +11,18 @@ MAINTAINER=	jasone@FreeBSD.org
 COMMENT=	Embeddable stack-based threaded interpreted language
 
 BUILD_DEPENDS=	cook:${PORTSDIR}/devel/cook
-LIB_DEPENDS=	edit.6:${PORTSDIR}/devel/libedit \
-		pcre.3:${PORTSDIR}/devel/pcre
+LIB_DEPENDS=	libedit.so:${PORTSDIR}/devel/libedit \
+		libpcre.so:${PORTSDIR}/devel/pcre
 
-USE_BZIP2=	yes
+USES=		desthack tar:bzip2
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--with-libedit-prefix=${LOCALBASE} \
 		--with-pcre-prefix=${LOCALBASE}
 USE_LDCONFIG=	yes
 
-MAN1=		onyx.1 onyx_config.1
-
 PLIST_SUB=	ONYX_VERSION=${PORTVERSION}
 
-NO_STAGE=	yes
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == "ia64"
-BROKEN=		Coredump during build on ia64
-.endif
+BROKEN_ia64=	Coredump during build on ia64
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
@@ -38,10 +31,7 @@ do-build:
 	@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} cook)
 
 do-install:
-	@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} cook install)
-
-post-install:
+	@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} DESTDIR=${STAGEDIR} cook install)
 	@${STRIP_CMD} ${PREFIX}/bin/onyx
-	@${CAT} ${PKGMESSAGE}
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



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