openbsd-ports/comms/hylafax/patches/patch-configure
merdely b0db904c38 Fix build on alpha (don't hardcode -O).
ok MAINTAINER (Giovanni Bechis)
ok naddy@, okan@
2008-02-26 18:37:38 +00:00

22 lines
518 B
Plaintext

$OpenBSD: patch-configure,v 1.8 2008/02/26 18:37:38 merdely Exp $
--- configure.orig Wed Nov 21 07:45:23 2007
+++ configure Tue Feb 26 09:46:17 2008
@@ -69,7 +69,7 @@ DPS=no
GS=no
IMP=no
UTMP=auto
-OPTIMIZER="-O"
+#OPTIMIZER="-O"
LIBTIFF="-L/usr/local/lib -ltiff"
TIFFINC=/usr/local/include
TIFFBIN=
@@ -1521,7 +1521,7 @@ int t() { $f(); return 0; }
int main(){ t(); return 0; }
EOF
capture cat t.c
- runMake t "t:; \${CCF} t.c $libs"
+ runMake t "t:; \${CCF} t.c -L%%LOCALBASE%%/lib $libs"
}
#