aboutsummaryrefslogtreecommitdiff
path: root/emulators/hercules/Makefile
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2009-08-02 19:36:34 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2009-08-02 19:36:34 +0000
commit789d75c728ef23566a07bf5b9bc2190bf34ff4f1 (patch)
treedc7540d42fa2d5d7c1c74515e3bdbf6ab842cd17 /emulators/hercules/Makefile
parentd1a9e827c98542eb35619dffa314cba50fb08b58 (diff)
downloadports-789d75c728ef23566a07bf5b9bc2190bf34ff4f1.tar.gz
ports-789d75c728ef23566a07bf5b9bc2190bf34ff4f1.zip
Notes
Diffstat (limited to 'emulators/hercules/Makefile')
-rw-r--r--emulators/hercules/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/emulators/hercules/Makefile b/emulators/hercules/Makefile
index 7efce1494770..efe3e839e3f2 100644
--- a/emulators/hercules/Makefile
+++ b/emulators/hercules/Makefile
@@ -7,7 +7,7 @@
PORTNAME= hercules
PORTVERSION= 3.05
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= emulators
MASTER_SITES= http://www.hercules-390.org/
@@ -18,10 +18,13 @@ OPTIONS= PTHREADS "Build with pthreads instead of fthreads." on \
NLS "Build with native language support." on \
DEBUG "Enable for debugging hercules itself." off
-USE_AUTOTOOLS= libtool:15
+USE_AUTOTOOLS= libtool:22 libltdl:22
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
+post-extract:
+ ${RM} ${WRKSRC}/ltdl.*
+
post-patch:
@${REINPLACE_CMD} -e 's@-lpthread@${PTHREAD_LIBS}@g' ${WRKSRC}/configure
.if defined(NOPORTDOCS)
@@ -29,6 +32,8 @@ post-patch:
.else
@${REINPLACE_CMD} -e 's,^datadir = @datadir@,datadir = ${PREFIX}/share/doc/,' ${WRKSRC}/html/Makefile.in
.endif
+ @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
+ '/^libherc_la_LIBADD/s|=|= -lltdl |g'
MAN1= cckddiag.1 dasdseq.1
MAN4= cckd.4