diff options
-rw-r--r-- | astro/roadmap/Makefile | 5 | ||||
-rw-r--r-- | astro/roadmap/files/patch-Makefile | 0 |
2 files changed, 5 insertions, 0 deletions
diff --git a/astro/roadmap/Makefile b/astro/roadmap/Makefile index c810ae29b411..82e3437bbe0d 100644 --- a/astro/roadmap/Makefile +++ b/astro/roadmap/Makefile @@ -24,6 +24,7 @@ INSTALL_WRKSRC= ${WRKSRC}/src USE_GNOMENG= yes USE_GNOME= gtk12 +USE_REINPLACE= yes BINS= buildmap buildus dumpmap GUI_BINS= gtkroadmap gtkroadgps @@ -31,6 +32,10 @@ SCRIPTS= rdmdownload rdmgetall rdmgenmaps rdmcompare DATA= sprites preferences schema DOCS= AUTHORS BUGS COPYING README TODO +post-patch: + @${REINPLACE_CMD} -e 's,-Wall,-Wall -I${PREFIX}/include,g' ${BUILD_WRKSRC}/Makefile + @${REINPLACE_CMD} -e 's,-lpopt,-lpopt -L${PREFIX}/lib,g' ${INSTALL_WRKSRC}/Makefile + do-install: .for _GUI_BIN in ${GUI_BINS} ${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/gtk/${_GUI_BIN} ${X11BASE}/bin/${_GUI_BIN} diff --git a/astro/roadmap/files/patch-Makefile b/astro/roadmap/files/patch-Makefile deleted file mode 100644 index e69de29bb2d1..000000000000 --- a/astro/roadmap/files/patch-Makefile +++ /dev/null |