1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

lang/guile2:

- Convert to USES=libtool and bump dependent ports
- Convert to USES=charsetfix and USES=pathfix
- Drop USE_GCC=any
- Add INSTALL_TARGET=install-strip
- Avoid USE_AUTOTOOLS
This commit is contained in:
Tijl Coosemans 2014-09-08 17:19:12 +00:00
parent 7cb20314b5
commit 4639f95c6b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=367659
3 changed files with 13 additions and 18 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= guile
PORTVERSION= 2.0.11
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= lang scheme
MASTER_SITES= GNU
#MASTER_SITES= ${MASTER_SITE_GNU}
@ -21,13 +21,13 @@ LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp \
CONFLICTS_INSTALL= guile-[0-9]*
USE_AUTOTOOLS= aclocal automake libltdl
USES= gmake ncurses pkgconfig readline
GNU_CONFIGURE= yes
USES= charsetfix gmake libtool ncurses pathfix pkgconfig readline
USE_AUTOTOOLS= libltdl
USE_LDCONFIG= yes
LDFLAGS+= -L${LOCALBASE}/lib
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
USE_GCC= any
LIBS+= -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip
PLIST_SUB= GUILE_VER=${PORTVERSION:R}
@ -51,16 +51,10 @@ INFO= guile r5rs
post-patch:
@cd ${WRKSRC} ; \
${REINPLACE_CMD} -e 's|<malloc\.h>|<stdlib.h>|g' ${REINPLACE_FILES}
@${REINPLACE_CMD} -e 's|2.63|%%AUTOCONF_VERSION%%|g' ${WRKSRC}/aclocal.m4
@${REINPLACE_CMD} -e 's|libdir)/pkgconfig|prefix)/libdata/pkgconfig|g' \
${WRKSRC}/meta/Makefile.in ${WRKSRC}/meta/Makefile.am
@${REINPLACE_CMD} -e 's|libdir}/pkgconfig|prefix}/libdata/pkgconfig|g' ${WRKSRC}/aclocal.m4
@${REINPLACE_CMD} -e 's|sys/time.h sys/timeb.h|sys/time.h |g' ${WRKSRC}/configure.ac \
@${REINPLACE_CMD} -e 's|sys/time.h sys/timeb.h|sys/time.h |g' \
${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|install-exec-local: install-exec-localcharset|install-exec-local:|g' \
${WRKSRC}/lib/Makefile.am
.if ${PORT_OPTIONS:MTHREADS}
@${REINPLACE_CMD} -e 's|bdw-gc|bdw-gc-threaded|g' ${WRKSRC}/configure.ac
@${REINPLACE_CMD} -e 's|bdw-gc|bdw-gc-threaded|g' ${WRKSRC}/configure
.endif
.include <bsd.port.mk>

View File

@ -125,14 +125,14 @@ include/guile/%%GUILE_VER%%/libguile/vm.h
include/guile/%%GUILE_VER%%/libguile/vports.h
include/guile/%%GUILE_VER%%/libguile/weaks.h
lib/libguile-%%GUILE_VER%%.a
lib/libguile-%%GUILE_VER%%.la
lib/libguile-%%GUILE_VER%%.so
lib/libguile-%%GUILE_VER%%.so.29
lib/libguile-%%GUILE_VER%%.so.29-gdb.scm
lib/libguile-%%GUILE_VER%%.so.22
lib/libguile-%%GUILE_VER%%.so.22.7.2
lib/libguile-%%GUILE_VER%%.so.22.7.2-gdb.scm
lib/libguilereadline-v-18.a
lib/libguilereadline-v-18.la
lib/libguilereadline-v-18.so
lib/libguilereadline-v-18.so.18
lib/libguilereadline-v-18.so.18.0.0
lib/guile/%%GUILE_VER%%/ccache/rnrs.go
lib/guile/%%GUILE_VER%%/ccache/statprof.go
lib/guile/%%GUILE_VER%%/ccache/texinfo.go

View File

@ -3,6 +3,7 @@
PORTNAME= mu
PORTVERSION= 0.9.9.6
PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= GH