Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jun 2015 16:33:47 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r390429 - head/sysutils/hpacucli
Message-ID:  <201506231633.t5NGXl1g025772@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Tue Jun 23 16:33:46 2015
New Revision: 390429
URL: https://svnweb.freebsd.org/changeset/ports/390429

Log:
  - Fix library installation
  - Check OPSYS along with OSVERSION

Modified:
  head/sysutils/hpacucli/Makefile

Modified: head/sysutils/hpacucli/Makefile
==============================================================================
--- head/sysutils/hpacucli/Makefile	Tue Jun 23 16:33:11 2015	(r390428)
+++ head/sysutils/hpacucli/Makefile	Tue Jun 23 16:33:46 2015	(r390429)
@@ -3,7 +3,7 @@
 
 PORTNAME=	hpacucli
 PORTVERSION=	7.50
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	sysutils
 MASTER_SITES=	LOCAL/brooks
 
@@ -24,7 +24,7 @@ post-patch:
 
 do-install:
 	@${MKDIR} ${STAGEDIR}${APP_PREFIX}
-	${CP} -a ${WRKSRC}/lib* ${STAGEDIR}${APP_PREFIX}
+	${INSTALL_LIB} ${WRKSRC}/lib*.so ${STAGEDIR}${APP_PREFIX}
 	${INSTALL_PROGRAM} ${WRKSRC}/.${PORTNAME} ${STAGEDIR}${PREFIX}/libexec
 	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin
 
@@ -32,7 +32,7 @@ do-install:
 
 .if ${ARCH} == amd64
 USE_LDCONFIG32=	${APP_PREFIX}
-.  if ${OSVERSION} < 1000019
+.  if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000019
 BROKEN=		currently does not work on amd64 (see PR ports/128288)
 .  endif
 .else



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506231633.t5NGXl1g025772>