aboutsummaryrefslogtreecommitdiff
path: root/audio/nas
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2008-06-24 19:11:56 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2008-06-24 19:11:56 +0000
commitfc0a410721e760b4e46ec8d36362af6b486b58fd (patch)
tree6465c387041745f7444ffb168914836988d55cc9 /audio/nas
parent8ae4b3adb14c121a81fc89e4e40d411dc7af65a8 (diff)
downloadports-fc0a410721e760b4e46ec8d36362af6b486b58fd.tar.gz
ports-fc0a410721e760b4e46ec8d36362af6b486b58fd.zip
Notes
Diffstat (limited to 'audio/nas')
-rw-r--r--audio/nas/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/audio/nas/Makefile b/audio/nas/Makefile
index bec069b8354f..7ebc0ce2be1b 100644
--- a/audio/nas/Makefile
+++ b/audio/nas/Makefile
@@ -24,19 +24,15 @@ MAKE_ARGS= CC="${CC}" CXX="${CXX}"
PKGMESSAGE= ${WRKDIR}/pkg-message
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
-.if defined(NOPORTDOCS)
- ${REINPLACE_CMD} -e '/^install.man::/ { p; s/.*/ exit 0\\/; }' \
- ${WRKSRC}/Makefile
-.else
-.include "Makefile.man"
-.endif
post-configure:
- # Work around shortcomings of the Image.rules et. al:
+# Work around shortcomings of the Image.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/|),' \