summaryrefslogtreecommitdiff
path: root/astro
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2003-03-14 17:10:34 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2003-03-14 17:10:34 +0000
commitd183c83018a4cd2c3f5eb14e049884fcf5b00ea7 (patch)
tree0adc130be2a4ad64b2d7848eaab875929c3c7ada /astro
parentFix a bug in fontconfig's configure script that was causing fonts.conf (diff)
unbreak roadmap
Noticed by: bento and kris Approved by: kris
Notes
Notes: svn path=/head/; revision=77125
Diffstat (limited to 'astro')
-rw-r--r--astro/roadmap/Makefile5
-rw-r--r--astro/roadmap/files/patch-Makefile0
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