diff options
author | delphij <delphij@FreeBSD.org> | 2010-02-02 09:53:05 +0800 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2010-02-02 09:53:05 +0800 |
commit | 4e91b333b7f673fc5cf44f398e563a8503dd2ad5 (patch) | |
tree | c08c6c83c0ecc0a62f8b6bb40553b58160fc165e /devel | |
parent | 900715d7cdec411ff781d8baba8bdc2dad1ef21c (diff) | |
download | freebsd-ports-gnome-4e91b333b7f673fc5cf44f398e563a8503dd2ad5.tar.gz freebsd-ports-gnome-4e91b333b7f673fc5cf44f398e563a8503dd2ad5.tar.zst freebsd-ports-gnome-4e91b333b7f673fc5cf44f398e563a8503dd2ad5.zip |
Fix build for at least amd64 platform, grab.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/jsl/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/devel/jsl/Makefile b/devel/jsl/Makefile index 743e8c1cfc41..6de0b7c43248 100644 --- a/devel/jsl/Makefile +++ b/devel/jsl/Makefile @@ -7,26 +7,28 @@ PORTNAME= jsl PORTVERSION= 0.3.0 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= ftp://ftp.Awfulhak.org/pub/jsl/ \ http://www.javascriptlint.com/download/ EXTRACT_SUFX= -src.tar.gz -MAINTAINER= ports@FreeBSD.org +MAINTAINER= delphij@FreeBSD.org COMMENT= Analyzes javascript code looking for bugs and signs of poor quality PLIST_FILES= bin/jsl -ONLY_FOR_ARCHS= i386 WRKSRC= ${WRKDIR}/${DISTNAME}/src USE_GMAKE= yes MAKEFILE= Makefile.ref +MAKE_ARGS= OS_CFLAGS="-DXP_UNIX -DHAVE_VA_COPY -DVA_COPY=va_copy" +CFLAGS+= -fPIC .include <bsd.port.pre.mk> -JSLCFG!= ${UNAME} -sr | ${SED} 's, ,,' +JSLCFG_CMD= ${UNAME} -sr | ${SED} 's, ,,' post-patch: - ${LN} -s Linux_All.mk ${WRKSRC}/config/${JSLCFG}.mk + ${LN} -s Linux_All.mk ${WRKSRC}/config/$$(${JSLCFG_CMD}).mk do-install: ${INSTALL} ${WRKSRC}/${JSLCFG}_DBG.OBJ/jsl ${PREFIX}/bin/jsl |