Fake. Replace idiotic links with something saner.

This commit is contained in:
espie 2000-04-01 02:16:10 +00:00
parent 04ca4c8950
commit 12583e387e
2 changed files with 18 additions and 2 deletions

View File

@ -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 <bsd.port.mk>

View File

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