1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00

Fix build on -current by adding USE_LIBTOOL, and respect CFLAGS

This commit is contained in:
Kris Kennaway 2002-09-08 22:51:04 +00:00
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

View File

@ -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

View 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