workaround a gcc bug on sparc64 for lib/cylink/sha.c
This commit is contained in:
parent
d59b72cab5
commit
3400f00e37
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2002/10/29 12:22:26 jakob Exp $
|
||||
# $OpenBSD: Makefile,v 1.2 2002/12/19 15:43:25 lebel Exp $
|
||||
|
||||
COMMENT= zone transfer program from BIND v8
|
||||
|
||||
@ -25,6 +25,7 @@ PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
|
||||
SEPARATE_BUILD= simple
|
||||
WRKDIST= ${WRKDIR}/src
|
||||
PATCH_LIST=
|
||||
@ -32,6 +33,10 @@ PATCH_LIST=
|
||||
do-configure:
|
||||
cd ${WRKSRC}; ${MAKE_PROGRAM} DST=${WRKBUILD}/obj SRC=${WRKSRC} links
|
||||
cd ${WRKBUILD}/obj; ${PATCH} < ${PATCHDIR}/patch-Makefile
|
||||
# XXX workaround gcc bugs on sparc64
|
||||
.if ${MACHINE_ARCH:Msparc64}
|
||||
cd ${WRKBUILD}/obj; ${PATCH} < ${PATCHDIR}/gcc-lib_cylink_Makefile
|
||||
.endif
|
||||
|
||||
do-build:
|
||||
cd ${WRKBUILD}/obj; ${MAKE_PROGRAM}
|
||||
|
20
net/named-xfer/patches/gcc-lib_cylink_Makefile
Normal file
20
net/named-xfer/patches/gcc-lib_cylink_Makefile
Normal file
@ -0,0 +1,20 @@
|
||||
$OpenBSD: gcc-lib_cylink_Makefile,v 1.1 2002/12/19 15:43:25 lebel Exp $
|
||||
--- lib/cylink/Makefile.orig Tue Aug 14 01:58:00 2001
|
||||
+++ lib/cylink/Makefile Thu Dec 19 10:04:56 2002
|
||||
@@ -60,6 +60,16 @@ ${LIBBIND}: ${OBJS}
|
||||
${AR} ${LIBBIND} ${ARPREF} ${OBJS} ${ARSUFF}
|
||||
${RANLIB} ${LIBBIND}
|
||||
|
||||
+sha.${O}:
|
||||
+ mkdir ${THREADED} 2> /dev/null || test -d ${THREADED} -a -w ${THREADED}
|
||||
+ ${CC} ${CPPFLAGS} ${CFLAGS} -O0 ${BOUNDS} ${REENTRANT} -c $*.c \
|
||||
+ -o ${THREADED}/$*.${O}
|
||||
+ -${LDS} ${LD} ${LD_LIBFLAGS} ${THREADED}/$*.${O} -o ${THREADED}/$*.out && \
|
||||
+ ${LDS} mv ${THREADED}/$*.out ${THREADED}/$*.${O}
|
||||
+ ${CC} ${CPPFLAGS} ${CFLAGS} -O0 ${BOUNDS} -c $*.c
|
||||
+ -${LDS} ${LD} ${LD_LIBFLAGS} $*.${O} -o $*.out && \
|
||||
+ ${LDS} mv $*.out $*.${O}
|
||||
+
|
||||
.c.${O}:
|
||||
mkdir ${THREADED} 2> /dev/null || test -d ${THREADED} -a -w ${THREADED}
|
||||
${CC} ${CPPFLAGS} ${CFLAGS} ${BOUNDS} ${REENTRANT} -c $*.c \
|
Loading…
Reference in New Issue
Block a user