Do not build statically on SunOS.
This commit is contained in:
parent
94bcb595d3
commit
3b1e0a5467
2 changed files with 14 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.15 2012/10/06 14:11:00 asau Exp $
|
||||
# $NetBSD: Makefile,v 1.16 2014/01/09 12:11:12 jperkin Exp $
|
||||
#
|
||||
|
||||
DISTNAME= imp1.1b9
|
||||
|
@ -23,6 +23,12 @@ USE_LANGUAGES= c++
|
|||
INSTALL_MAKE_FLAGS+= PREFIX=${DESTDIR}${PREFIX}
|
||||
INSTALLATION_DIRS+= bin
|
||||
|
||||
.include "../../mk/bsd.prefs.mk"
|
||||
|
||||
.if ${OPSYS} == "SunOS"
|
||||
BUILDLINK_TRANSFORM+= rm:-static
|
||||
.endif
|
||||
|
||||
do-build:
|
||||
cd ${WRKSRC} && make make_impress make_font3d
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.10 2012/09/13 16:56:17 asau Exp $
|
||||
# $NetBSD: Makefile,v 1.11 2014/01/09 12:07:42 jperkin Exp $
|
||||
#
|
||||
|
||||
DISTNAME= mapm-4.9.5a
|
||||
|
@ -17,6 +17,12 @@ USE_LANGUAGES= c c++
|
|||
|
||||
INSTALLATION_DIRS= bin include lib share/doc/mapm
|
||||
|
||||
.include "../../mk/bsd.prefs.mk"
|
||||
|
||||
.if ${OPSYS} == "SunOS"
|
||||
BUILDLINK_TRANSFORM+= rm:-static
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/m_apm.h ${DESTDIR}${PREFIX}/include
|
||||
${INSTALL_DATA} ${WRKSRC}/libmapm.a ${DESTDIR}${PREFIX}/lib
|
||||
|
|
Loading…
Reference in a new issue