Skip to content

Commit

Permalink
devel/tla: Unbreak on HEAD
Browse files Browse the repository at this point in the history
- Pet portclippy
- Adopt port
  • Loading branch information
5u623l20 committed May 2, 2023
1 parent 4cb5c8a commit bf0a18c
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions devel/tla/Makefile
Expand Up @@ -5,7 +5,7 @@ CATEGORIES= devel
MASTER_SITES= GNU/gnu-arch \
http://www.atai.org/gnuarch/releases/

MAINTAINER= ports@FreeBSD.org
MAINTAINER= bofh@FreeBSD.org
COMMENT= Original arch source control management CLI written in C
WWW= https://www.gnu.org/software/gnu-arch/

Expand All @@ -17,10 +17,8 @@ BUILD_DEPENDS= gpatch:devel/patch \
RUN_DEPENDS:= ${BUILD_DEPENDS}

USES= gmake pkgconfig ssl
HAS_CONFIGURE= yes
MAKE_JOBS_UNSAFE= yes
TEST_TARGET= test

HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= ../configure
CONFIGURE_ARGS= --prefix=${PREFIX} \
--with-gnu-patch gpatch \
Expand All @@ -29,12 +27,22 @@ CONFIGURE_ARGS= --prefix=${PREFIX} \
--with-gnu-tar gtar
CONFIGURE_ENV= ne_cv_libsfor_SSL_library_init=yes

ORIGWRKSRC= ${WRKDIR}/${DISTNAME}/src
MAKE_JOBS_UNSAFE= yes
TEST_TARGET= test

PATCH_WRKSRC= ${ORIGWRKSRC}/..
WRKSRC= ${ORIGWRKSRC}/=build

OPTIONS_DEFINE= DOCS

ORIGWRKSRC= ${WRKDIR}/${DISTNAME}/src

.include <bsd.port.pre.mk>

.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
CPPFLAGS+= -Wno-error=int-conversion
.endif

pre-install:
${RM} -r ${ORIGWRKSRC}/docs-tla/PLUGIN \
${ORIGWRKSRC}/docs-tla/{arch} ${ORIGWRKSRC}/docs-tla/.arch-ids
Expand All @@ -48,4 +56,4 @@ do-install:
cd ${ORIGWRKSRC}/docs-tla && ${FIND} . -name '*.html' | \
${CPIO} -pdm -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>
.include <bsd.port.post.mk>

0 comments on commit bf0a18c

Please sign in to comment.