diff --git a/lang/hugs/Makefile b/lang/hugs/Makefile index 101975cb490..b9c058a6608 100644 --- a/lang/hugs/Makefile +++ b/lang/hugs/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.9 2005/03/28 08:10:00 dons Exp $ +# $OpenBSD: Makefile,v 1.10 2005/04/24 04:57:07 dons Exp $ COMMENT= "Haskell 98 interpreter" @@ -14,6 +14,10 @@ MASTER_SITES0= ftp://ftp.cse.unsw.edu.au/pub/users/dons/hugs98/ DISTFILES= ${DISTNAME}-patched.tar.gz ${DISTNAME}-regress.tar.bz2:0 WRKDIST= ${WRKDIR}/${DISTNAME}-patched +.if ${MACHINE_ARCH} != "m88k" && ${MACHINE_ARCH} != "vax" +CFLAGS+= -fPIC +.endif + CONFIGURE_STYLE=gnu CONFIGURE_ENV+= CFLAGS="${CFLAGS}" CC="${CC}" CONFIGURE_ARGS+=--with-pthreads --libdir=${PREFIX}/lib @@ -26,6 +30,6 @@ PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes -WANTLIB= c m ncurses readline +WANTLIB= c m ncurses readline GL X11 GLU .include diff --git a/lang/hugs/pkg/PLIST b/lang/hugs/pkg/PLIST index 84b07848882..94a31da5e6c 100644 --- a/lang/hugs/pkg/PLIST +++ b/lang/hugs/pkg/PLIST @@ -1,7 +1,7 @@ -@comment $OpenBSD: PLIST,v 1.5 2005/03/24 07:35:03 dons Exp $ +@comment $OpenBSD: PLIST,v 1.6 2005/04/24 04:57:07 dons Exp $ %%SHARED%% bin/cpphs-hugs -@comment bin/ffihugs +bin/ffihugs bin/hsc2hs-hugs bin/hugs bin/runhugs