mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Fix build on -current by adding USE_LIBTOOL, and respect CFLAGS
This commit is contained in:
parent
c9ddd7ec9c
commit
ff53534b5a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=65861
2 changed files with 11 additions and 0 deletions
|
@ -17,6 +17,7 @@ MAINTAINER= ports@FreeBSD.org
|
|||
LIB_DEPENDS= gnugetopt:${PORTSDIR}/devel/libgnugetopt
|
||||
|
||||
USE_REINPLACE= yes
|
||||
USE_LIBTOOL= yes
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt"
|
||||
INSTALLS_SHLIB= yes
|
||||
|
|
10
math/spar/files/patch-configure
Normal file
10
math/spar/files/patch-configure
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- configure.orig Tue Jun 26 05:46:47 2001
|
||||
+++ configure Sun Sep 8 15:42:06 2002
|
||||
@@ -1580,7 +1563,6 @@
|
||||
exec 5>>./config.log
|
||||
|
||||
|
||||
-CFLAGS="-Wall -O2"
|
||||
if test "$CC" = "gcc"; then
|
||||
CFLAGS="$CFLAGS -pipe"
|
||||
fi
|
Loading…
Add table
Reference in a new issue