aboutsummaryrefslogtreecommitdiffstats
path: root/lang/onyx
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-05-01 00:52:58 +0800
committerbapt <bapt@FreeBSD.org>2014-05-01 00:52:58 +0800
commite053e7d4f6072367c32fe2d4966c94c404fd1cbd (patch)
tree770ab364c67acbf1a53ed8d8fc6501c3c8bbd343 /lang/onyx
parentce5c1c568b90b9cb545c7aab7733e520e1d050ab (diff)
downloadfreebsd-ports-gnome-e053e7d4f6072367c32fe2d4966c94c404fd1cbd.tar.gz
freebsd-ports-gnome-e053e7d4f6072367c32fe2d4966c94c404fd1cbd.tar.zst
freebsd-ports-gnome-e053e7d4f6072367c32fe2d4966c94c404fd1cbd.zip
chase libedit change with a simple bump as the port build system does not seems to support destdir at all
With hat: portmgr
Diffstat (limited to 'lang/onyx')
-rw-r--r--lang/onyx/Makefile24
1 files changed, 7 insertions, 17 deletions
diff --git a/lang/onyx/Makefile b/lang/onyx/Makefile
index c919427c44ce..0bde731ff3d8 100644
--- a/lang/onyx/Makefile
+++ b/lang/onyx/Makefile
@@ -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>