[Midnightbsd-cvs] mports [23834] trunk/devel/judy/Makefile: fix build
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sun Aug 26 14:19:54 EDT 2018
Revision: 23834
http://svnweb.midnightbsd.org/mports/?rev=23834
Author: laffer1
Date: 2018-08-26 14:19:54 -0400 (Sun, 26 Aug 2018)
Log Message:
-----------
fix build
Modified Paths:
--------------
trunk/devel/judy/Makefile
Modified: trunk/devel/judy/Makefile
===================================================================
--- trunk/devel/judy/Makefile 2018-08-26 18:15:21 UTC (rev 23833)
+++ trunk/devel/judy/Makefile 2018-08-26 18:19:54 UTC (rev 23834)
@@ -12,32 +12,29 @@
LICENSE= lgpl
+BROKEN_mips= fails to compile: unrecognized command line option "-m32"
+BROKEN_mips64= fails to compile: unrecognized command line option "-m64"
+
+USES= gmake libtool
GNU_CONFIGURE= yes
-
-USES= gmake
-USE_LDCONFIG= YES
+USE_LDCONFIG= yes
MAKE_JOBS_UNSAFE= yes
+INSTALL_TARGET= install-strip
-WRKSRC= ${WRKDIR}/judy-${PORTVERSION}
+WRKSRC= ${WRKDIR}/${PORTNAME:tl}-${PORTVERSION}
-SHLIB_MAJOR= 1
-PLIST_SUB= SHLIB_MAJOR="${SHLIB_MAJOR}"
+PORTDOCS= COPYRIGHT README *.htm
-LIST_DOCS= COPYRIGHT README *.htm
-
-post-install:
-.ifndef(NOPORTDOCS)
- @${ECHO_MSG} "===> Installing documentation for ${PKGNAME}"
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${LIST_DOCS:S!^!${WRKSRC}/doc/ext/!} ${DOCSDIR}
-.endif
-
.include <bsd.port.pre.mk>
-.if ${ARCH} == "i386"
+.if ${ARCH} == armv6 || ${ARCH} == armv7 || ${ARCH} == i386 || ${ARCH} == mips || ${ARCH} == powerpc
CONFIGURE_ARGS+= --enable-32-bit
-.elif ${ARCH} == "amd64"
+.else
CONFIGURE_ARGS+= --enable-64-bit
.endif
+post-install:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S!^!${WRKSRC}/doc/ext/!} ${STAGEDIR}${DOCSDIR}
+
.include <bsd.port.post.mk>
More information about the Midnightbsd-cvs
mailing list