- honor CFLAGS.

- sync and reorder WANTLIB.

checked by naddy@, ok mbalmer@
This commit is contained in:
aanriot 2007-04-21 07:45:50 +00:00
parent 6decf3130d
commit aa615153de
2 changed files with 21 additions and 7 deletions

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.5 2007/04/15 12:44:54 mbalmer Exp $
# $OpenBSD: Makefile,v 1.6 2007/04/21 07:45:50 aanriot Exp $
COMMENT= "read and manipulate raw images from digital cameras"
DISTNAME= ufraw-0.11
PKGNAME= ${DISTNAME}p0
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ufraw/}
@ -16,12 +17,13 @@ PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c fontconfig freetype m stdc++ X11 z gmodule-2.0 \
glib-2.0 gimpui-2.0 pango-1.0 Xext Xrender glitz png \
pangocairo-1.0 gimpmath-2.0 gdk_pixbuf-2.0 \
gdk-x11-2.0 pangoft2-1.0 gtk-x11-2.0 cairo \
gimpwidgets-2.0 gimpbase-2.0 atk-1.0 \
gimpcolor-2.0 gobject-2.0
WANTLIB= atk-1.0 c cairo expat fontconfig freetype \
gdk_pixbuf-2.0 gdk-x11-2.0 gimpbase-2.0 \
gimpcolor-2.0 gimpmath-2.0 gimpui-2.0 \
gimpwidgets-2.0 glib-2.0 glitz gmodule-2.0 \
gobject-2.0 gtk-x11-2.0 m pango-1.0 \
pangocairo-1.0 pangoft2-1.0 png stdc++ X11 Xau \
Xdmcp Xrender z
LIB_DEPENDS= gimp-2.0:gimp-2.*:graphics/gimp/stable \
tiff.>=37::graphics/tiff \

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-configure,v 1.1 2007/04/21 07:45:50 aanriot Exp $
--- configure.orig Fri Apr 20 18:55:12 2007
+++ configure Fri Apr 20 18:55:19 2007
@@ -6350,7 +6350,7 @@ fi
UFRAW_CFLAGS="-ffast-math -fomit-frame-pointer"
if test "x$GCC" = "xyes"; then
- UFRAW_CFLAGS="$UFRAW_CFLAGS -W -Wall -O3"
+ UFRAW_CFLAGS="$UFRAW_CFLAGS $CFLAGS"
fi
# windows will require some special attention