Fix build on 9.x and upwards

PR:		ports/172689 (based on)
Submitted by:	Jukka Ukkonen <jau@iki.fi>
Approved by:	bzeeb+freebsdports@zabbadoz.net (maintainer)
This commit is contained in:
Pawel Pekala 2012-12-29 13:00:07 +00:00
parent c9e60eb625
commit 31654654cb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=309617

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: dice
# Date created: Thu Jan 31 12:07:01 CET 2002
# Whom: Miguel Mendez <flynn@energyhq.homeip.net>
#
# Created by: Miguel Mendez <flynn@energyhq.homeip.net>
# $FreeBSD$
#
PORTNAME= hercules
PORTVERSION= 3.05
@ -27,6 +23,7 @@ post-extract:
post-patch:
@${REINPLACE_CMD} -e 's@-lpthread@${PTHREAD_LIBS}@g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's@SOL_TCP@IPPROTO_TCP@g' ${WRKSRC}/hscutl.c
.if defined(NOPORTDOCS)
@${REINPLACE_CMD} -e 's,^SUBDIRS = decNumber m4 po util html man . crypto,SUBDIRS = decNumber m4 po util man . crypto,g' ${WRKSRC}/Makefile.in
.else