diff options
author | Hye-Shik Chang <perky@FreeBSD.org> | 2003-08-20 09:11:11 +0000 |
---|---|---|
committer | Hye-Shik Chang <perky@FreeBSD.org> | 2003-08-20 09:11:11 +0000 |
commit | 4c51d1c779fd804a4844c428d7f49fe7acc0665a (patch) | |
tree | 12836b8fea10af88cada2e193fe0b5dddbc9617f /misc/pybliographer/Makefile | |
parent | b5c4321014148242d556e9804f8ced8cd18fa50f (diff) | |
download | ports-4c51d1c779fd804a4844c428d7f49fe7acc0665a.tar.gz ports-4c51d1c779fd804a4844c428d7f49fe7acc0665a.zip |
Notes
Diffstat (limited to 'misc/pybliographer/Makefile')
-rw-r--r-- | misc/pybliographer/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/misc/pybliographer/Makefile b/misc/pybliographer/Makefile index b6701b28c160..0f382cc668eb 100644 --- a/misc/pybliographer/Makefile +++ b/misc/pybliographer/Makefile @@ -30,6 +30,8 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ Python="${PYTHON_CMD}" CONFIGURE_ARGS= --with-recode-prefix="${LOCALBASE}" +.include <bsd.port.pre.mk> + pre-patch: @${REINPLACE_CMD} 's|-lpthread|${PTHREAD_LIBS}|g ; \ s|glib-config|glib12-config|g ; \ @@ -37,6 +39,9 @@ pre-patch: @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ 's|\$$(datadir)/gnome/|$$(datadir)/|g ; \ s|\$$(datadir)/locale|$$(prefix)/share/locale|g' +.if ${PYTHON_REL} >= 230 + @${REINPLACE_CMD} 's|@DEFS@||g' ${WRKSRC}/compiled/Makefile.pre.in +.endif post-install: @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \ @@ -44,4 +49,4 @@ post-install: @${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \ ${PREFIX}/share/gnome/${PORTNAME} -.include <bsd.port.mk> +.include <bsd.port.post.mk> |