diff --git a/x11/fltk/Makefile b/x11/fltk/Makefile index 64d8d4c5aac..95e85de4a23 100644 --- a/x11/fltk/Makefile +++ b/x11/fltk/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.5 2000/03/24 22:12:04 espie Exp $ +# $OpenBSD: Makefile,v 1.6 2000/04/01 02:16:10 espie Exp $ VER= 1.0.7 PKGNAME= fltk-${VER} @@ -8,7 +8,8 @@ NEED_VERSION= 1.191 MASTER_SITES= ftp://ftp.fltk.org/pub/fltk/${VER}/ MAINTAINER= jason@OpenBSD.ORG -GNU_CONFIGURE= yes +HAS_CONFIGURE= yes +CONFIGURE_ARGS= --prefix='$${DESTDIR}${PREFIX}' --sysconfdir='$${DESTDIR}/etc' WRKDIST= ${WRKDIR}/${PKGNAME} LICENSE_TYPE= GPL @@ -16,5 +17,6 @@ PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes +FAKE= Yes .include diff --git a/x11/fltk/patches/patch-includelink b/x11/fltk/patches/patch-includelink new file mode 100644 index 00000000000..7698f1e76e2 --- /dev/null +++ b/x11/fltk/patches/patch-includelink @@ -0,0 +1,14 @@ +--- src/Makefile.orig Sat Apr 1 04:06:22 2000 ++++ src/Makefile Sat Apr 1 04:06:57 2000 +@@ -202,9 +202,9 @@ + @-cp -r ../FL $(includedir) + @-chmod 755 $(includedir)/FL + @-chmod 644 $(includedir)/FL/* +- @for file in $(includedir)/FL/*.H; do\ ++ @cd $(includedir)/FL && for file in *.H; do\ + newfile="`basename $$file H`h";\ +- ln -s $$file $(includedir)/FL/$$newfile;\ ++ ln -s $$file $$newfile;\ + done + @-ln -s FL $(includedir)/Fl +