/usr/local/bin/ld: main.o:(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here /usr/local/bin/ld: document.o:(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here /usr/local/bin/ld: doctype.o:(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here /usr/local/bin/ld: thisappinit.o:(.bss+0x160): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here /usr/local/bin/ld: stack.o:(.bss+0x8): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here /usr/local/bin/ld: ../hf/libhf.a(camera.o):(.bss+0xc0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here /usr/local/bin/ld: ../hf/libhf.a(hf_wrapper.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here /usr/local/bin/ld: ../hf/libhf.a(hf_dialog_options.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here /usr/local/bin/ld: ../hf/libhf.a(hf_tools_dialog.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here /usr/local/bin/ld: ../hf/libhf.a(hf_creation_dialog.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here /usr/local/bin/ld: ../hf/libhf.a(surfadd.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here /usr/local/bin/ld: ../hf/libhf.a(img_process_dialog.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here /usr/local/bin/ld: ../hf/libhf.a(surfadd_dialog.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here /usr/local/bin/ld: ../hf/libhf.a(img_process.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here /usr/local/bin/ld: ../hf/libhf.a(subdiv1.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here /usr/local/bin/ld: ../hf/libhf.a(uniform.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here /usr/local/bin/ld: ../hf/libhf.a(subdiv1_dialog.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here /usr/local/bin/ld: ../hf/libhf.a(uniform_dialog.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here /usr/local/bin/ld: ../hf/libhf.a(hf_filters.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here /usr/local/bin/ld: ../hf/libhf.a(hf_filters_dialog.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here /usr/local/bin/ld: ../hf/libhf.a(waves_dialog.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here /usr/local/bin/ld: ../hf/libhf.a(waves.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here /usr/local/bin/ld: ../hf/libhf.a(subdiv2_dialog.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here /usr/local/bin/ld: ../hf/libhf.a(subdiv2.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here /usr/local/bin/ld: ../hf/libhf.a(gl_preview.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here /usr/local/bin/ld: ../hf/libhf.a(merge_dialog.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here /usr/local/bin/ld: ../hf/libhf.a(geom_transform_dialog.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here /usr/local/bin/ld: ../hf/libhf.a(erode_dialog.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here /usr/local/bin/ld: ../hf/libhf.a(craters.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here /usr/local/bin/ld: ../hf/libhf.a(draw_tools_dialog.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here /usr/local/bin/ld: ../hf/libhf.a(draw_hf.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here /usr/local/bin/ld: ../hf/libhf.a(merge.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here /usr/local/bin/ld: ../hf/libhf.a(fault.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here /usr/local/bin/ld: ../hf/libhf.a(fault_dialog.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here /usr/local/bin/ld: ../hf/libhf.a(swirl.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here /usr/local/bin/ld: ../hf/libhf.a(swirl_dialog.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here /usr/local/bin/ld: ../hf/libhf.a(erode.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here /usr/local/bin/ld: ../hf/libhf.a(wind.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here /usr/local/bin/ld: ../hf/libhf.a(wind_dialog.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here /usr/local/bin/ld: ../hf/libhf.a(dialog_utilities.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here /usr/local/bin/ld: ../hf/libhf.a(line.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here /usr/local/bin/ld: ../hf/libhf.a(line_dialog.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here /usr/local/bin/ld: ../hf/libhf.a(fill.o):(.bss+0x8): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here /usr/local/bin/ld: ../hf/libhf.a(fill_dialog.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here /usr/local/bin/ld: ../hf/libhf.a(render.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here /usr/local/bin/ld: ../hf/libhf.a(voronoi.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here /usr/local/bin/ld: ../hf/libhf.a(voronoi_dialog.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here /usr/local/bin/ld: ../hf/libhf.a(draw_dialog.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here /usr/local/bin/ld: ../hf/libhf.a(draw_hf_dialog.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here /usr/local/bin/ld: ../hf/libhf.a(draw_crater_dialog.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here /usr/local/bin/ld: ../hf/libhf.a(draw.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here /usr/local/bin/ld: ../fourier/libfourier.a(fourier_dialog.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here /usr/local/bin/ld: ../fourier/libfourier.a(fourier.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here /usr/local/bin/ld: ../fourier/libfourier.a(fft.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here /usr/local/bin/ld: ../utils/libutils.a(utils.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here /usr/local/bin/ld: ../utils/libutils.a(config_rc_file.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here /usr/local/bin/ld: ../utils/libutils.a(config_dialog.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here /usr/local/bin/ld: ../utils/libutils.a(filesel.o):(.bss+0x8): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here /usr/local/bin/ld: ../utils/libutils.a(writepng.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here /usr/local/bin/ld: ../utils/libutils.a(menus_n_tools.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here /usr/local/bin/ld: ../utils/libutils.a(readpng.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here /usr/local/bin/ld: ../utils/libutils.a(scale_buttons.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here http://package18.nyi.freebsd.org/data/121amd64-default-PR244494/2020-06-10_18h04m44s/logs/errors/geomorph-0.60.1_11.log PR: 246700
46 lines
1.3 KiB
Makefile
46 lines
1.3 KiB
Makefile
# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= geomorph
|
|
PORTVERSION= 0.60.1
|
|
PORTREVISION= 11
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/0.60/
|
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
|
COMMENT= Height field generator and editor
|
|
|
|
LIB_DEPENDS= libgtkglext-x11-1.0.so:x11-toolkits/gtkglext \
|
|
libpng.so:graphics/png
|
|
|
|
USES= compiler:c++11-lang desktop-file-utils gl gmake pkgconfig \
|
|
shebangfix
|
|
SHEBANG_FILES= update-rc
|
|
USE_GL= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --with-libintl-prefix="${LOCALBASE}"
|
|
USE_GCC= any # lots of severely broken code
|
|
CFLAGS+= -fcommon
|
|
|
|
PLIST_SUB= PORTVERSION=${PORTVERSION}
|
|
PORTDATA= *
|
|
|
|
OPTIONS_DEFINE= NLS
|
|
OPTIONS_SUB= yes
|
|
|
|
NLS_USES= gettext
|
|
NLS_CONFIGURE_ENABLE= nls
|
|
|
|
post-patch:
|
|
@${FIND} ${WRKSRC} -type f -exec ${REINPLACE_CMD} -i '' -e 's|/usr/local/share/geomorph|${DATADIR}|' {} \;
|
|
@${REINPLACE_CMD} -e 's|\$$HOME/geomorph|\$$HOME/.geomorph|' \
|
|
${WRKSRC}/install-step* ${WRKSRC}/install-user ${WRKSRC}/update-rc
|
|
@${REINPLACE_CMD} -e '/DEF_DIR_NAME/ s|geomorph|.geomorph|' \
|
|
${WRKSRC}/src/app/globals.h ${WRKSRC}/src/hf/globals.h
|
|
@${FIND} ${WRKSRC} -name "*.bak" -delete
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/geomorph.desktop ${STAGEDIR}${PREFIX}/share/applications/
|
|
${INSTALL_DATA} ${WRKSRC}/GeoMorph.xpm ${STAGEDIR}${PREFIX}/share/pixmaps/
|
|
|
|
.include <bsd.port.mk>
|