mirror of
https://git.freebsd.org/ports.git
synced 2025-06-06 21:30:31 -04:00
Convert to USES=libtool:keepla
This commit is contained in:
parent
327b7a360d
commit
d8ed500a4c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=366343
3 changed files with 5 additions and 77 deletions
|
@ -3,36 +3,28 @@
|
||||||
|
|
||||||
PORTNAME= hercules
|
PORTNAME= hercules
|
||||||
PORTVERSION= 3.10
|
PORTVERSION= 3.10
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= emulators
|
CATEGORIES= emulators
|
||||||
MASTER_SITES= http://downloads.hercules-390.eu/
|
MASTER_SITES= http://downloads.hercules-390.eu/
|
||||||
|
|
||||||
MAINTAINER= ports@FreeBSD.org
|
MAINTAINER= ports@FreeBSD.org
|
||||||
COMMENT= System/370, ESA/390, and z/Architecture Emulator
|
COMMENT= System/370, ESA/390, and z/Architecture Emulator
|
||||||
|
|
||||||
USES= iconv perl5 shebangfix
|
# :keepla because port uses lt_dlopen
|
||||||
|
USES= iconv libtool:keepla perl5 shebangfix
|
||||||
SHEBANG_FILES= util/bldlvlck
|
SHEBANG_FILES= util/bldlvlck
|
||||||
USE_AUTOTOOLS= libtool libltdl
|
|
||||||
CONFIGURE_ARGS= --enable-optimization="no"
|
|
||||||
USE_LDCONFIG= yes
|
USE_LDCONFIG= yes
|
||||||
|
GNU_CONFIGURE= yes
|
||||||
CPPFLAGS+= -I${LOCALBASE}/include
|
CONFIGURE_ARGS= --disable-optimization
|
||||||
LDFLAGS+= -L${LOCALBASE}/lib
|
|
||||||
|
|
||||||
OPTIONS_DEFINE= DOCS
|
OPTIONS_DEFINE= DOCS
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
post-extract:
|
|
||||||
@${RM} -f ${WRKSRC}/ltdl.h
|
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e \
|
|
||||||
'/LIBS/s|-lpthread|-pthread|g' ${WRKSRC}/configure
|
|
||||||
@${REINPLACE_CMD} -e \
|
@${REINPLACE_CMD} -e \
|
||||||
's|SOL_TCP|IPPROTO_TCP|g' ${WRKSRC}/hscutl.c
|
's|SOL_TCP|IPPROTO_TCP|g' ${WRKSRC}/hscutl.c
|
||||||
@${REINPLACE_CMD} -e \
|
@${REINPLACE_CMD} -e \
|
||||||
'/^pkgdatadir/s|=.*|= $$(docdir)|' ${WRKSRC}/html/Makefile.in
|
'/^pkgdatadir/s|=.*|= $$(docdir)|' ${WRKSRC}/html/Makefile.in
|
||||||
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
|
|
||||||
'/^libherc_la_LIBADD/s|=|= -lltdl |g'
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -1,61 +0,0 @@
|
||||||
--- Makefile.in.orig 2013-04-04 14:07:19.184726980 +0300
|
|
||||||
+++ Makefile.in 2013-04-04 14:08:33.594716391 +0300
|
|
||||||
@@ -370,10 +370,10 @@
|
|
||||||
libhercu_la_DEPENDENCIES = $(am__DEPENDENCIES_1) libhercs.la
|
|
||||||
am__libhercu_la_SOURCES_DIST = version.c hscutl.c hscutl2.c codepage.c \
|
|
||||||
logger.c logmsg.c hdl.c hostinfo.c hsocket.c memrchr.c \
|
|
||||||
- parser.c pttrace.c fthreads.c ltdl.c
|
|
||||||
+ parser.c pttrace.c fthreads.c
|
|
||||||
am__objects_5 = fthreads.lo
|
|
||||||
@BUILD_FTHREADS_TRUE@am__objects_6 = $(am__objects_5)
|
|
||||||
-@OPTION_DYNAMIC_LOAD_TRUE@am__objects_7 = ltdl.lo
|
|
||||||
+#@OPTION_DYNAMIC_LOAD_TRUE@am__objects_7 = ltdl.lo
|
|
||||||
am_libhercu_la_OBJECTS = version.lo hscutl.lo hscutl2.lo codepage.lo \
|
|
||||||
logger.lo logmsg.lo hdl.lo hostinfo.lo hsocket.lo memrchr.lo \
|
|
||||||
parser.lo pttrace.lo $(am__objects_6) $(am__objects_7)
|
|
||||||
@@ -833,8 +833,8 @@
|
|
||||||
@BUILD_SHARED_TRUE@XSTATIC =
|
|
||||||
@OPTION_DYNAMIC_LOAD_FALSE@DYNSRC = $(dyndev_SRC)
|
|
||||||
@OPTION_DYNAMIC_LOAD_TRUE@DYNSRC =
|
|
||||||
-@OPTION_DYNAMIC_LOAD_FALSE@LTDL =
|
|
||||||
-@OPTION_DYNAMIC_LOAD_TRUE@LTDL = ltdl.c
|
|
||||||
+#@OPTION_DYNAMIC_LOAD_FALSE@LTDL =
|
|
||||||
+#@OPTION_DYNAMIC_LOAD_TRUE@LTDL = ltdl.c
|
|
||||||
@OPTION_DYNAMIC_LOAD_FALSE@DYNMOD_LD_FLAGS =
|
|
||||||
@OPTION_DYNAMIC_LOAD_TRUE@DYNMOD_LD_FLAGS = -module \
|
|
||||||
@OPTION_DYNAMIC_LOAD_TRUE@ -no-undefined \
|
|
||||||
@@ -984,7 +984,7 @@
|
|
||||||
parser.c \
|
|
||||||
pttrace.c \
|
|
||||||
$(FTHREADS) \
|
|
||||||
- $(LTDL)
|
|
||||||
+# $(LTDL)
|
|
||||||
|
|
||||||
libhercu_la_LDFLAGS = $(LIB_LD_FLAGS)
|
|
||||||
libhercu_la_LIBADD = $(LDADD) libhercs.la
|
|
||||||
@@ -1059,7 +1059,7 @@
|
|
||||||
$(dynamic_SRC) \
|
|
||||||
$(extra_SRC) \
|
|
||||||
$(dyndev_SRC) \
|
|
||||||
- ltdl.c
|
|
||||||
+# ltdl.c
|
|
||||||
|
|
||||||
libherc_la_LDFLAGS = $(LIB_LD_FLAGS)
|
|
||||||
libherc_la_LIBADD = libhercs.la \
|
|
||||||
@@ -1302,7 +1302,6 @@
|
|
||||||
hdl.h \
|
|
||||||
crypto.h \
|
|
||||||
sockdev.h \
|
|
||||||
- ltdl.h \
|
|
||||||
herc_getopt.h \
|
|
||||||
service.h \
|
|
||||||
chsc.h \
|
|
||||||
@@ -1711,7 +1710,7 @@
|
|
||||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/logger.Plo@am__quote@
|
|
||||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/logmsg.Plo@am__quote@
|
|
||||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/losc.Plo@am__quote@
|
|
||||||
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ltdl.Plo@am__quote@
|
|
||||||
+#@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ltdl.Plo@am__quote@
|
|
||||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/machchk.Plo@am__quote@
|
|
||||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/memrchr.Plo@am__quote@
|
|
||||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/omatape.Plo@am__quote@
|
|
|
@ -28,7 +28,6 @@ bin/hetupd
|
||||||
bin/tapecopy
|
bin/tapecopy
|
||||||
bin/tapemap
|
bin/tapemap
|
||||||
bin/tapesplt
|
bin/tapesplt
|
||||||
lib/hercules/dyncrypt.a
|
|
||||||
lib/hercules/dyncrypt.la
|
lib/hercules/dyncrypt.la
|
||||||
lib/hercules/dyncrypt.so
|
lib/hercules/dyncrypt.so
|
||||||
lib/hercules/dyngui.la
|
lib/hercules/dyngui.la
|
||||||
|
@ -59,7 +58,6 @@ lib/hercules/hdteq.la
|
||||||
lib/hercules/hdteq.so
|
lib/hercules/hdteq.so
|
||||||
lib/hercules/hdtqeth.la
|
lib/hercules/hdtqeth.la
|
||||||
lib/hercules/hdtqeth.so
|
lib/hercules/hdtqeth.so
|
||||||
lib/libdecNumber.a
|
|
||||||
lib/libdecNumber.la
|
lib/libdecNumber.la
|
||||||
lib/libdecNumber.so
|
lib/libdecNumber.so
|
||||||
lib/libherc.la
|
lib/libherc.la
|
||||||
|
@ -72,7 +70,6 @@ lib/libherct.la
|
||||||
lib/libherct.so
|
lib/libherct.so
|
||||||
lib/libhercu.la
|
lib/libhercu.la
|
||||||
lib/libhercu.so
|
lib/libhercu.so
|
||||||
lib/libsoftfloat.a
|
|
||||||
lib/libsoftfloat.la
|
lib/libsoftfloat.la
|
||||||
lib/libsoftfloat.so
|
lib/libsoftfloat.so
|
||||||
man/man1/cckddiag.1.gz
|
man/man1/cckddiag.1.gz
|
||||||
|
|
Loading…
Add table
Reference in a new issue