diff options
author | Gabor Pali <pgj@FreeBSD.org> | 2009-07-10 07:14:17 +0000 |
---|---|---|
committer | Gabor Pali <pgj@FreeBSD.org> | 2009-07-10 07:14:17 +0000 |
commit | 1f896eeb29bb67303a5e0afdf21b5b91184a697a (patch) | |
tree | 3d250f97564d50046eb1b33eb6a0053b3177be74 /x11-toolkits | |
parent | 2a182c797458ca1cda66e35c4ff82236cfb3ed07 (diff) |
Notes
Diffstat (limited to 'x11-toolkits')
-rw-r--r-- | x11-toolkits/hs-OpenGL/Makefile | 4 | ||||
-rw-r--r-- | x11-toolkits/hs-opengl-ghc/Makefile | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/x11-toolkits/hs-OpenGL/Makefile b/x11-toolkits/hs-OpenGL/Makefile index c4a466b8825e..3bf7d47d5ab2 100644 --- a/x11-toolkits/hs-OpenGL/Makefile +++ b/x11-toolkits/hs-OpenGL/Makefile @@ -42,6 +42,10 @@ SUBDIR= ${PORTNAME}${PKGNAMESUFFIX} WRKSRC=${WRKDIR}/ghc-${GHC_VERSION}/libraries/OpenGL +post-patch: + @${REINPLACE_CMD} 's|/usr/local/include|${LOCALBASE}/include|g' \ + ${WRKSRC}/configure + do-configure: cd ${WRKSRC} && ${CABALCMD} configure --ghc --prefix=${PREFIX} --libdir=${CABALDIR} \ --libsubdir='' --datasubdir='' diff --git a/x11-toolkits/hs-opengl-ghc/Makefile b/x11-toolkits/hs-opengl-ghc/Makefile index c4a466b8825e..3bf7d47d5ab2 100644 --- a/x11-toolkits/hs-opengl-ghc/Makefile +++ b/x11-toolkits/hs-opengl-ghc/Makefile @@ -42,6 +42,10 @@ SUBDIR= ${PORTNAME}${PKGNAMESUFFIX} WRKSRC=${WRKDIR}/ghc-${GHC_VERSION}/libraries/OpenGL +post-patch: + @${REINPLACE_CMD} 's|/usr/local/include|${LOCALBASE}/include|g' \ + ${WRKSRC}/configure + do-configure: cd ${WRKSRC} && ${CABALCMD} configure --ghc --prefix=${PREFIX} --libdir=${CABALDIR} \ --libsubdir='' --datasubdir='' |