mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
- Fix PLIST on non-32-bit-architectures
- Do not use -O3 on alpha PR: ports/60420 Approved by: maintainer silence
This commit is contained in:
parent
bd33bc107c
commit
b3c62ae6d8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=111499
@ -25,8 +25,14 @@ PLIST_SUB= DISTNAME=${DISTNAME} ARCH=${ARCH} OS=${OPSYS:L}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${ARCH} != "i386"
|
||||
BROKEN= "Broken pkg-plist"
|
||||
.if (${ARCH} == "i386")
|
||||
PLIST_SUB+= BITS=32
|
||||
.else
|
||||
PLIST_SUB+= BITS=64
|
||||
.endif
|
||||
|
||||
.if (${ARCH} == "alpha")
|
||||
EXTRA_PATCHES= ${FILESDIR}/extra-patch-src-configure
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
|
13
lang/swi-pl/files/extra-patch-src-configure
Normal file
13
lang/swi-pl/files/extra-patch-src-configure
Normal file
@ -0,0 +1,13 @@
|
||||
--- src/configure.orig Sat Dec 20 00:49:33 2003
|
||||
+++ src/configure Sat Dec 20 00:50:26 2003
|
||||
@@ -2960,8 +2960,8 @@
|
||||
fi
|
||||
|
||||
if test "$GCC" = "yes"; then
|
||||
- COFLAGS="-O3 -fno-strict-aliasing"
|
||||
- LDFLAGS="$LDFLAGS -O3"
|
||||
+ COFLAGS="-O -fno-strict-aliasing"
|
||||
+ LDFLAGS="$LDFLAGS -O"
|
||||
if test "$ac_cv_header_stdc" = "yes" ; then
|
||||
CWFLAGS=-Wall
|
||||
else
|
@ -25,7 +25,7 @@ lib/%%DISTNAME%%/boot/syspred.pl
|
||||
lib/%%DISTNAME%%/boot/toplevel.pl
|
||||
lib/%%DISTNAME%%/boot/topvars.pl
|
||||
lib/%%DISTNAME%%/boot/writef.pl
|
||||
lib/%%DISTNAME%%/boot32.prc
|
||||
lib/%%DISTNAME%%/boot%%BITS%%.prc
|
||||
lib/%%DISTNAME%%/dotfiles/README
|
||||
lib/%%DISTNAME%%/dotfiles/dotplrc
|
||||
lib/%%DISTNAME%%/dotfiles/dotxpcerc
|
||||
|
Loading…
Reference in New Issue
Block a user