aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2013-09-02 16:20:26 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2013-09-02 16:20:26 +0000
commitcbec9fc70ac0777694fbd0422c3742d9aaf5b91f (patch)
tree71ae2b73742ee7fdfeefd39c4a48f8639557f17b /audio
parent91014b9c73b0cc0525f155b98e25d93c87044cd3 (diff)
Notes
Diffstat (limited to 'audio')
-rw-r--r--audio/nas/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/audio/nas/Makefile b/audio/nas/Makefile
index 6bf9dc881649..7b5baf750bea 100644
--- a/audio/nas/Makefile
+++ b/audio/nas/Makefile
@@ -3,6 +3,7 @@
PORTNAME= nas
PORTVERSION= 1.9.3
+PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}.${PORTVERSION}%20%28stable%29
EXTRACT_SUFX= .src.tar.gz
@@ -11,11 +12,10 @@ MAINTAINER= multimedia@FreeBSD.org
COMMENT= Network Audio System
USES= imake
-USE_GCC= any
+USE_CSTD= gnu89
USE_XORG= x11 xext xt xau sm ice xp xpm xmu xaw
USE_LDCONFIG= yes
MAKE_ENV+= COMPRESS_CMD="${COMPRESS_CMD:S/c//}"
-MAKE_ARGS= CC="${CC}" CXX="${CXX}"
MAKE_JOBS_UNSAFE= yes
PKGMESSAGE= ${WRKDIR}/pkg-message
@@ -24,12 +24,9 @@ SUB_FILES= pkg-message
.include "Makefile.man"
.include <bsd.port.pre.mk>
-post-patch:
- @${FIND} ${WRKSRC} -name '*.c' | ${XARGS} ${GREP} -lF malloc.h \
- | ${XARGS} ${REINPLACE_CMD} -n -e "s|<malloc.h>||" -e t -e p
post-configure:
-# Work around shortcomings of the Image.rules et. al:
+# Work around shortcomings of the Imake.rules et. al:
${REINPLACE_CMD} -e 's:-fPIC:${FPIC} -DPIC:g' \
-e 's,-c \$$(CCOPTIONS),-c $$(CFLAGS),' \
-e 's,\(\$$(AR) \$$@ \$$\)(OBJS),\1(OBJS:S|^|unshared/|),' \