- Unbreak
- Fix build with HEAD PR: 111976 Submitted by: Thomas Abthorpe <thomas@goodking.ca>
This commit is contained in:
parent
81fc01f143
commit
3e8d36d894
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=190587
2 changed files with 8 additions and 20 deletions
|
@ -21,17 +21,11 @@ USE_GMAKE= yes
|
|||
GNU_CONFIGURE= yes
|
||||
USE_AUTOTOOLS= automake:19
|
||||
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
||||
CONFIGURE_ARGS+= --without-conf --without-clucene
|
||||
CONFIGURE_ARGS+= --without-conf --without-lucene
|
||||
USE_LDCONFIG= yes
|
||||
SUB_FILES= pkg-message
|
||||
PKGMESSAGE= ${WRKDIR}/pkg-message
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ( ${OSVERSION} >= 700000 )
|
||||
BROKEN= does not build on 7.X
|
||||
.endif
|
||||
|
||||
.if defined(WITHOUT_CURL)
|
||||
CONFIGURE_ARGS+= --without-curl
|
||||
PLIST_SUB+= INSTALLMGR="@comment "
|
||||
|
@ -51,7 +45,7 @@ post-patch:
|
|||
post-install:
|
||||
@${MKDIR} ${PREFIX}/share/sword/mods.d
|
||||
.if !exists(${PREFIX}/etc/sword.conf)
|
||||
@(cd ${WRKSRC} && make install_config)
|
||||
@(cd ${WRKSRC} && ${GMAKE} install_config)
|
||||
.else
|
||||
@${ECHO_CMD} "Config file not installed since ${PREFIX}/etc/sword.conf already exists."
|
||||
@${ECHO_CMD} "Please check that DataPath points to your modules (default ${DATADIR}).";
|
||||
|
@ -60,6 +54,6 @@ post-install:
|
|||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
register:
|
||||
@(cd ${WRKSRC} && make register)
|
||||
@(cd ${WRKSRC} && ${GMAKE} register)
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -21,17 +21,11 @@ USE_GMAKE= yes
|
|||
GNU_CONFIGURE= yes
|
||||
USE_AUTOTOOLS= automake:19
|
||||
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
||||
CONFIGURE_ARGS+= --without-conf --without-clucene
|
||||
CONFIGURE_ARGS+= --without-conf --without-lucene
|
||||
USE_LDCONFIG= yes
|
||||
SUB_FILES= pkg-message
|
||||
PKGMESSAGE= ${WRKDIR}/pkg-message
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ( ${OSVERSION} >= 700000 )
|
||||
BROKEN= does not build on 7.X
|
||||
.endif
|
||||
|
||||
.if defined(WITHOUT_CURL)
|
||||
CONFIGURE_ARGS+= --without-curl
|
||||
PLIST_SUB+= INSTALLMGR="@comment "
|
||||
|
@ -51,7 +45,7 @@ post-patch:
|
|||
post-install:
|
||||
@${MKDIR} ${PREFIX}/share/sword/mods.d
|
||||
.if !exists(${PREFIX}/etc/sword.conf)
|
||||
@(cd ${WRKSRC} && make install_config)
|
||||
@(cd ${WRKSRC} && ${GMAKE} install_config)
|
||||
.else
|
||||
@${ECHO_CMD} "Config file not installed since ${PREFIX}/etc/sword.conf already exists."
|
||||
@${ECHO_CMD} "Please check that DataPath points to your modules (default ${DATADIR}).";
|
||||
|
@ -60,6 +54,6 @@ post-install:
|
|||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
register:
|
||||
@(cd ${WRKSRC} && make register)
|
||||
@(cd ${WRKSRC} && ${GMAKE} register)
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Reference in a new issue