1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

- Update to version 0.92.4, the latest stable to date

- Remove BROKEN on ia64 statement, it was never a first-class architecture
  and was officially killed in -CURRENT recently
- Do not manually strip *.so files in pre-install target, they're already
  installed stripped
- Allow staging as regular user (or stripping fails due to BINMODE == 555)
- Remove unneeded (and thus confusing) global suffixes in REINPLACE_CMD's
- Fix bogus whitespace on Makefile line 17, sort and wrap long USES line
This commit is contained in:
Alexey Dokuchaev 2014-11-23 11:34:04 +00:00
parent 46891d102c
commit ef7fd9a68a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=373143
3 changed files with 12 additions and 33 deletions

View File

@ -2,11 +2,10 @@
# $FreeBSD$
PORTNAME= librep
PORTVERSION= 0.92.3
PORTREVISION= 1
PORTVERSION= 0.92.4
CATEGORIES= lang elisp gnome
MASTER_SITES= http://download.tuxfamily.org/librep/%SUBDIR%/
MASTER_SITE_SUBDIR= . Archive
MASTER_SITES= http://download.tuxfamily.org/librep/
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Emacs Lisp like runtime library
@ -15,12 +14,13 @@ LICENSE= GPLv2
LIB_DEPENDS= libgdbm.so:${PORTSDIR}/databases/gdbm \
libffi.so:${PORTSDIR}/devel/libffi \
libgmp.so:${PORTSDIR}/math/gmp
libgmp.so:${PORTSDIR}/math/gmp
RUN_DEPENDS= gtar:${PORTSDIR}/archivers/gtar
USE_CSTD= gnu89
USES= gettext gmake libtool makeinfo pathfix pkgconfig readline tar:xz shebangfix
USES= gettext gmake libtool makeinfo pathfix pkgconfig readline \
shebangfix tar:xz
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-aclocaldir=${PREFIX}/share/aclocal \
--with-stack-direction=-1
@ -35,19 +35,9 @@ LDFLAGS+= -L${LOCALBASE}/lib -pthread
INFO= librep
.include <bsd.port.pre.mk>
.if ${ARCH} == ia64
BROKEN= Does not build on ia64
.endif
post-patch:
@${REINPLACE_CMD} -e \
'/GDBM_LIBS/s|"-lgdbm"|"$$LIBS -lgdbm"|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e \
's|/share/man/|/man/|g' ${WRKSRC}/man/Makefile.in
@${REINPLACE_CMD} -e 's|share/man|man|' ${WRKSRC}/man/Makefile.in
@${REINPLACE_CMD} -E 's|(INSTALL_PROGRAM\))( [^-])|\1 -m 755\2|' \
${WRKSRC}/src/Makefile.in
pre-install:
${FIND} ${WRKSRC} -name "*.so" -exec ${STRIP_CMD} {} \;
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (librep-0.92.3.tar.xz) = 45c98a5bbdfde4f1d98e3839b319d9ae15857d2d1ae8e3838d9a18d53f3e8b85
SIZE (librep-0.92.3.tar.xz) = 607128
SHA256 (librep_0.92.4.tar.xz) = 45b0c970c903c50bbc49d65526d2109a1e1663f61823b7151f12797189a82709
SIZE (librep_0.92.4.tar.xz) = 651216

View File

@ -1,11 +0,0 @@
--- src/lispmach.h.orig
+++ src/lispmach.h
@@ -475,7 +475,7 @@
#ifdef __arm__
#define PC_REG asm("r9")
#define SP_REG asm("r8")
-#define SLOTS_REG asm("r7")
+#define SLOTS_REG asm("r10")
#endif
#endif