[Midnightbsd-cvs] mports [16112] trunk/www/nspluginwrapper/Makefile: Fix nspluginwrapper build.

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sun Mar 23 16:07:47 EDT 2014


Revision: 16112
          http://svnweb.midnightbsd.org/mports/?rev=16112
Author:   laffer1
Date:     2014-03-23 16:07:46 -0400 (Sun, 23 Mar 2014)
Log Message:
-----------
Fix nspluginwrapper build.

Modified Paths:
--------------
    trunk/www/nspluginwrapper/Makefile

Modified: trunk/www/nspluginwrapper/Makefile
===================================================================
--- trunk/www/nspluginwrapper/Makefile	2014-03-23 20:01:47 UTC (rev 16111)
+++ trunk/www/nspluginwrapper/Makefile	2014-03-23 20:07:46 UTC (rev 16112)
@@ -2,7 +2,7 @@
 
 PORTNAME=	nspluginwrapper
 PORTVERSION=	1.4.4
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	www linux emulators
 MASTER_SITES=	http://nspluginwrapper.org/download/ \
 		FREEBSD_LOCAL/jkim \
@@ -13,7 +13,7 @@
 COMMENT=	A compatibility plugin for Mozilla NPAPI plugins
 LICENSE=	gpl2
 
-LIB_DEPENDS=	curl.6:${PORTSDIR}/ftp/curl
+LIB_DEPENDS=	curl:${PORTSDIR}/ftp/curl
 
 CONFLICTS=	nspluginwrapper-1.3.*
 
@@ -22,22 +22,22 @@
 
 ONLY_FOR_ARCHS=	i386 amd64
 
+HAS_CONFIGURE=	yes
+USE_GNOME=	glib20 gtk20
+USE_LDCONFIG=	yes
 USE_LINUX=	yes
 USE_LINUX_APPS=	gtk2
 USE_XORG=	x11 xext xt
-USE_GNOME=	glib20 gtk20 pkgconfig
+USES=		gmake pkgconfig
 
 CFLAGS+=	-std=c99
 
-USE_LDCONFIG=	yes
-USE_GMAKE=	yes
-HAS_CONFIGURE=	yes
-
 CONFIGURE_ARGS=	--enable-generic --enable-strip --prefix=${PREFIX} \
 		--target-os=linux --target-cpu=i386 \
 		--with-cc=${CC} --with-cxx=${CXX}
 
 LIBDIR=		${PREFIX}/lib/${PORTNAME}
+LINUX_BINDIR=	usr/lib/nspluginwrapper/i386/linux
 
 PLIST_SUB=	LIBDIR="${LIBDIR:C/^${PREFIX}\///}" HOST_ARCH="${HOST_ARCH}"
 
@@ -48,8 +48,10 @@
 
 .if ${ARCH} == "amd64"
 HOST_ARCH=	x86_64
+PLIST_SUB+=	HOST_AMD64=""
 .else
 HOST_ARCH=	${ARCH}
+PLIST_SUB+=	HOST_AMD64="@comment "
 .endif
 
 post-patch:



More information about the Midnightbsd-cvs mailing list